methadone 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6de444d578e8db3bbaa2a7b3895b88f145b83b28
4
- data.tar.gz: d7be790577cc1d22c2cbb75e7ec51cb90a6aac52
3
+ metadata.gz: 008f48e3c8144f9e35daf0cc65aa87422aab06f1
4
+ data.tar.gz: 92e6a622617ba85211f43a7929d12fcc0bd955da
5
5
  SHA512:
6
- metadata.gz: ffc0b213b1a251cdea19c2332d3272b326e4e90cf97f7a6618f48946a91a9c93df85ab961ebc39131859dea1fd03bfbd5c39606742adae5f5abc3a5e0990d142
7
- data.tar.gz: 1067d5c60c27688248623630168081ca78c347eb1abdbb71cad223513be28b9c53b0f8e5b70f10f8ea0aa0d2d39573b819cba699d266920fd9e8ca6490accba1
6
+ metadata.gz: e9d00c07ea7713755a356ab7b32205b5bc574121c2cf7eca0e6f314954915cf7df094f7ea699d449bcb12b73789036bbad34fdd4c088a2c5314d078eaf119115
7
+ data.tar.gz: a295e7e1605a7eac0214480e824542db858e5b7f3bf6068d5da8fbd52a56d7b07320ead71acd6636ad805fff849b05895c56a29824a6c762e0034367d90e4ff6
data/bin/methadone CHANGED
@@ -72,7 +72,7 @@ main do |app_name|
72
72
 
73
73
  if rspec
74
74
  add_to_file gemspec, [
75
- " #{gem_variable}.add_development_dependency('rspec')",
75
+ " #{gem_variable}.add_development_dependency('rspec', '~> 2.99')",
76
76
  ], :before => /^end\s*$/
77
77
  end
78
78
  end
@@ -0,0 +1,8 @@
1
+ Feature: As a User I want to use Rspec
2
+ In order to use methadone
3
+ As a User
4
+ I want to have rspec 2.99
5
+
6
+ Scenario: Rspec version test
7
+ When I run `rspec --version`
8
+ Then the output should contain exactly "2.99.1\n"
@@ -14,7 +14,7 @@ Feature: Bootstrap a new command-line app using RSpec instead of Test::Unit
14
14
  |tmp/newgem/test |
15
15
  And the following files should exist:
16
16
  |tmp/newgem/spec/something_spec.rb |
17
- And the file "tmp/newgem/newgem.gemspec" should match /add_development_dependency\('rspec'/
17
+ And the file "tmp/newgem/newgem.gemspec" should match /add_development_dependency\('rspec', '~> 2.99'/
18
18
  When I cd to "tmp/newgem"
19
19
  And I successfully run `rake -T -I../../lib`
20
20
  Then the output should contain:
@@ -1,3 +1,3 @@
1
1
  module Methadone #:nodoc:
2
- VERSION = "1.4.0" #:nodoc:
2
+ VERSION = "1.5.0" #:nodoc:
3
3
  end
data/methadone.gemspec CHANGED
@@ -27,5 +27,5 @@ Gem::Specification.new do |s|
27
27
  s.add_development_dependency("mocha", "0.13.2")
28
28
  s.add_development_dependency("minitest", "4.6.1")
29
29
  s.add_development_dependency("sdoc")
30
- s.add_development_dependency("rspec") # needed so that rspec-bootstrapped app test can run
30
+ s.add_development_dependency("rspec", "~> 2.99") # needed so that rspec-bootstrapped app test can run
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: methadone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - davetron5000
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-02 00:00:00.000000000 Z
11
+ date: 2014-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,16 +154,16 @@ dependencies:
154
154
  name: rspec
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '>='
157
+ - - ~>
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
159
+ version: '2.99'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ~>
165
165
  - !ruby/object:Gem::Version
166
- version: '0'
166
+ version: '2.99'
167
167
  description: Methadone provides a lot of small but useful features for developing
168
168
  a command-line app, including an opinionated bootstrapping process, some helpful
169
169
  cucumber steps, and some classes to bridge logging and output into a simple, unified,
@@ -188,6 +188,7 @@ files:
188
188
  - features/bootstrap.feature
189
189
  - features/license.feature
190
190
  - features/readme.feature
191
+ - features/rspec_2.99.0_version_test.feature
191
192
  - features/rspec_support.feature
192
193
  - features/step_definitions/bootstrap_steps.rb
193
194
  - features/step_definitions/license_steps.rb
@@ -269,6 +270,7 @@ test_files:
269
270
  - features/bootstrap.feature
270
271
  - features/license.feature
271
272
  - features/readme.feature
273
+ - features/rspec_2.99.0_version_test.feature
272
274
  - features/rspec_support.feature
273
275
  - features/step_definitions/bootstrap_steps.rb
274
276
  - features/step_definitions/license_steps.rb