Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Updated dependency requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne committed Jun 2, 2011
1 parent 6e3efd9 commit 487eff6
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 24 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ Submitting a Pull Request
2. Create a topic branch. 2. Create a topic branch.
3. Implement your feature or bug fix. 3. Implement your feature or bug fix.
4. Add documentation for your feature or bug fix. 4. Add documentation for your feature or bug fix.
5. Run <tt>bundle exec rake doc:yard</tt>. If your changes are not 100% documented, go back to step 4. 5. Run <tt>rake doc:yard</tt>. If your changes are not 100% documented, go back to step 4.
6. Add specs for your feature or bug fix. 6. Add specs for your feature or bug fix.
7. Run <tt>bundle exec rake spec</tt>. If your changes are not 100% covered, go back to step 6. 7. Run <tt>rake spec</tt>. If your changes are not 100% covered, go back to step 6.
8. Commit and push your changes. 8. Commit and push your changes.
9. Submit a pull request. Please do not include changes to the gemspec, version, or history file. (If you want to create your own version for some reason, please do so in a separate commit.) 9. Submit a pull request. Please do not include changes to the gemspec, version, or history file. (If you want to create your own version for some reason, please do so in a separate commit.)


Expand Down
27 changes: 16 additions & 11 deletions Rakefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@ RSpec::Core::RakeTask.new(:spec)
task :default => :spec task :default => :spec


namespace :doc do namespace :doc do
require 'yard' begin
YARD::Rake::YardocTask.new do |task| require 'yard'
task.files = ['HISTORY.mkd', 'LICENSE.mkd', 'lib/**/*.rb'] rescue LoadError
task.options = [ # ignore
'--protected', else
'--output-dir', 'doc/yard', YARD::Rake::YardocTask.new do |task|
'--tag', 'format:Supported formats', task.files = ['HISTORY.mkd', 'LICENSE.mkd', 'lib/**/*.rb']
'--tag', 'authenticated:Requires Authentication', task.options = [
'--tag', 'rate_limited:Rate Limited', '--protected',
'--markup', 'markdown', '--output-dir', 'doc/yard',
] '--tag', 'format:Supported formats',
'--tag', 'authenticated:Requires Authentication',
'--tag', 'rate_limited:Rate Limited',
'--markup', 'markdown',
]
end
end end
end end
7 changes: 1 addition & 6 deletions instagram.gemspec
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@
require File.expand_path('../lib/instagram/version', __FILE__) require File.expand_path('../lib/instagram/version', __FILE__)


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.add_development_dependency('bundler', '~> 1.0')
s.add_development_dependency('rake', '~> 0.8')
s.add_development_dependency('rspec', '~> 2.4') s.add_development_dependency('rspec', '~> 2.4')
s.add_development_dependency('yard', '~> 0.6')
s.add_development_dependency('simplecov', '~> 0.3')
s.add_development_dependency('webmock', '~> 1.6') s.add_development_dependency('webmock', '~> 1.6')
s.add_development_dependency('ZenTest', '~> 4.4')
s.add_development_dependency('bluecloth', '~> 2.0.11') s.add_development_dependency('bluecloth', '~> 2.0.11')
s.add_runtime_dependency('faraday', '~> 0.5.4') s.add_runtime_dependency('faraday', '~> 0.5.4')
s.add_runtime_dependency('faraday_middleware', '~> 0.3.1') s.add_runtime_dependency('faraday_middleware', '~> 0.3.1')
s.add_runtime_dependency('multi_json', '~> 0.0.5') s.add_runtime_dependency('multi_json', '~> 0.0.5')
s.add_runtime_dependency('hashie', '~> 1.0.0') s.add_runtime_dependency('hashie', '>= 0.4.0')
s.authors = ["Shayne Sweeney"] s.authors = ["Shayne Sweeney"]
s.description = %q{A Ruby wrapper for the Instagram REST and Search APIs} s.description = %q{A Ruby wrapper for the Instagram REST and Search APIs}
s.post_install_message =<<eos s.post_install_message =<<eos
Expand Down
15 changes: 10 additions & 5 deletions spec/spec_helper.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,13 @@
require 'simplecov' begin
SimpleCov.start do require 'simplecov'
add_group 'Instagram', 'lib/instagram' rescue LoadError
add_group 'Faraday Middleware', 'lib/faraday' # ignore
add_group 'Specs', 'spec' else
SimpleCov.start do
add_group 'Instagram', 'lib/instagram'
add_group 'Faraday Middleware', 'lib/faraday'
add_group 'Specs', 'spec'
end
end end


require File.expand_path('../../lib/instagram', __FILE__) require File.expand_path('../../lib/instagram', __FILE__)
Expand Down

0 comments on commit 487eff6

Please sign in to comment.