hyperspec 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -14,7 +14,9 @@ HTTP APIs from the outside.
14
14
 
15
15
  ## Example
16
16
 
17
- ```ruby #source: examples/readme/service_spec.rb
17
+ ```ruby
18
+ #source: examples/readme/service_spec.rb
19
+
18
20
  service "http://localhost:4567" do
19
21
  def responds_with_json_where
20
22
  JSON.parse(response.body)
@@ -37,13 +37,11 @@ Gem::Specification.new do |s|
37
37
  [ "fakeweb" ],
38
38
  ]
39
39
 
40
- runtime_dependencies = []
41
-
42
- (dependencies + developement_dependencies).each do |dependency|
43
- s.add_development_dependency(*dependency)
40
+ dependencies.each do |dependency|
41
+ s.add_dependency(*dependency)
44
42
  end
45
43
 
46
- (dependencies + runtime_dependencies).each do |dependency|
47
- s.add_runtime_dependency(*dependency)
44
+ developement_dependencies.each do |dependency|
45
+ s.add_development_dependency(*dependency)
48
46
  end
49
47
  end
@@ -1,6 +1,6 @@
1
1
  module HyperSpec
2
2
  MAJOR = 0
3
3
  MINOR = 0
4
- PATCH = 4
4
+ PATCH = 5
5
5
  VERSION = [ MAJOR, MINOR, PATCH ].join(".")
6
6
  end
@@ -23,8 +23,8 @@ describe HyperSpec do
23
23
 
24
24
  use_vcr_cassette('localhost')
25
25
 
26
- it "should be of version 0.0.4" do
27
- HyperSpec::VERSION.must_equal "0.0.4"
26
+ it "should be of version 0.0.5" do
27
+ HyperSpec::VERSION.must_equal "0.0.5"
28
28
  end
29
29
 
30
30
  describe "MiniTest::Spec extensions" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyperspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-22 00:00:00.000000000 Z
12
+ date: 2012-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -19,7 +19,7 @@ dependencies:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
21
  version: '2.11'
22
- type: :development
22
+ type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
@@ -59,22 +59,6 @@ dependencies:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: minitest
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: '2.11'
70
- type: :runtime
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: '2.11'
78
62
  description: ! " By extending minitest/spec HyperSpec provides a Ruby DSL for testing\n
79
63
  \ HTTP APIs from the \"outside\".\n"
80
64
  email:
@@ -128,3 +112,4 @@ test_files:
128
112
  - spec/hyperspec_spec.rb
129
113
  - spec/support/meta_spec.rb
130
114
  - spec/support/vcr.rb
115
+ has_rdoc: