Permalink
Browse files

Simplify gemspec, make yard optional

  • Loading branch information...
1 parent 40f3867 commit c1264bdfbf577d192262285d05059ef095d6ae5a @avdgaag committed Mar 18, 2012
Showing with 40 additions and 42 deletions.
  1. +24 −27 Gemfile.lock
  2. +10 −8 Rakefile
  3. +6 −7 typogruby.gemspec
View
@@ -7,39 +7,37 @@ PATH
GEM
remote: http://rubygems.org/
specs:
- aruba (0.3.6)
- childprocess (>= 0.1.7)
- cucumber (>= 0.10.0)
- rspec (>= 2.5.0)
- bluecloth (2.1.0)
+ aruba (0.4.11)
+ childprocess (>= 0.2.3)
+ cucumber (>= 1.1.1)
+ ffi (>= 1.0.11)
+ rspec (>= 2.7.0)
+ bluecloth (2.2.0)
builder (3.0.0)
- childprocess (0.1.8)
+ childprocess (0.3.1)
ffi (~> 1.0.6)
- cucumber (0.10.2)
+ cucumber (1.1.9)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
- gherkin (>= 2.3.5)
+ gherkin (~> 2.9.0)
json (>= 1.4.6)
- term-ansicolor (>= 1.0.5)
- diff-lcs (1.1.2)
- ffi (1.0.7)
- rake (>= 0.8.7)
- gherkin (2.3.7)
+ term-ansicolor (>= 1.0.6)
+ diff-lcs (1.1.3)
+ ffi (1.0.11)
+ gherkin (2.9.1)
json (>= 1.4.6)
- json (1.5.1)
- rake (0.8.7)
- rcov (0.9.9)
- rspec (2.5.0)
- rspec-core (~> 2.5.0)
- rspec-expectations (~> 2.5.0)
- rspec-mocks (~> 2.5.0)
- rspec-core (2.5.2)
- rspec-expectations (2.5.0)
- diff-lcs (~> 1.1.2)
- rspec-mocks (2.5.0)
+ json (1.6.5)
+ rake (0.9.2.2)
+ rspec (2.9.0)
+ rspec-core (~> 2.9.0)
+ rspec-expectations (~> 2.9.0)
+ rspec-mocks (~> 2.9.0)
+ rspec-core (2.9.0)
+ rspec-expectations (2.9.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.9.0)
rubypants (0.2.0)
- term-ansicolor (1.0.5)
- yard (0.6.8)
+ term-ansicolor (1.0.7)
PLATFORMS
ruby
@@ -51,4 +49,3 @@ DEPENDENCIES
rake
rspec
typogruby!
- yard
View
@@ -69,12 +69,14 @@ namespace :version do
end
end
-require 'yard'
-YARD::Rake::YardocTask.new do |t|
- t.options = [
- '--files', 'LICENSE',
- '--files', 'HISTORY.md',
- '--title', 'Typogruby API documentation'
- ]
+begin
+ require 'yard'
+ YARD::Rake::YardocTask.new do |t|
+ t.options = [
+ '--files', 'LICENSE',
+ '--files', 'HISTORY.md',
+ '--title', 'Typogruby API documentation'
+ ]
+ end
+rescue LoadError
end
-
View
@@ -28,12 +28,11 @@ Gem::Specification.new do |s|
]
# Dependencies
- s.add_runtime_dependency('rubypants', ['>= 0'])
- s.add_development_dependency('yard', ['>= 0'])
- s.add_development_dependency('rake', ['>= 0'])
- s.add_development_dependency('aruba', ['>= 0'])
- s.add_development_dependency('cucumber', ['>= 0'])
- s.add_development_dependency('rspec', ['>= 0'])
- s.add_development_dependency('bluecloth', ['>= 0'])
+ s.add_runtime_dependency 'rubypants'
+ s.add_development_dependency 'rake'
+ s.add_development_dependency 'aruba'
+ s.add_development_dependency 'cucumber'
+ s.add_development_dependency 'rspec'
+ s.add_development_dependency 'bluecloth'
end

0 comments on commit c1264bd

Please sign in to comment.