Skip to content

Commit

Permalink
Merge pull request #4 from vinhnglx/feature/gem-dependencies
Browse files Browse the repository at this point in the history
Feature/gem dependencies
  • Loading branch information
vinhnglx committed Feb 3, 2016
2 parents e740ffa + 46601ef commit d476e1f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
6 changes: 3 additions & 3 deletions bin/console
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

require "bundler/setup"
require "tempo"
require 'bundler/setup'
require 'tempo'

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
Expand All @@ -10,5 +10,5 @@ require "tempo"
# require "pry"
# Pry.start

require "irb"
require 'irb'
IRB.start
3 changes: 3 additions & 0 deletions bin/tempo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env ruby

require 'tempo'
24 changes: 14 additions & 10 deletions tempo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,26 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'tempo/version'

Gem::Specification.new do |spec|
spec.name = "tempo"
spec.name = 'tempo'
spec.version = Tempo::VERSION
spec.authors = ["Vinh Nguyen"]
spec.email = ["[email protected]"]
spec.authors = ['Vinh Nguyen']
spec.email = ['[email protected]']

spec.summary = %q{Display the weather information of your city.}
spec.description = %q{Display the weather information of your city.}
spec.homepage = "http://todayifoundout.net"
spec.license = "MIT"
spec.homepage = 'http://todayifoundout.net'
spec.license = 'MIT'

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.require_paths = ['lib']

spec.add_development_dependency "bundler", "~> 1.11"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency 'bundler', '~> 1.11'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'

# Add runtime dependencies
spec.add_dependency 'thor'
spec.add_dependency 'httparty'
end

0 comments on commit d476e1f

Please sign in to comment.