lawyer 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e99be433808f11cb424f36b57b3ac474f2cd810e
4
- data.tar.gz: 9eeebb6c71f45d45e054aa3a66a310409de86587
3
+ metadata.gz: 15fdccaa23596150e15e10a8c993a523016cff6a
4
+ data.tar.gz: b811dcef5d54dbd55869b91c35f9622e545556e3
5
5
  SHA512:
6
- metadata.gz: 6c2f4dd3603a8dd235adfd3efb6c7ad08a075f2410cb7b835e7c9b78a876e0194ed00c9bb2c6c9359b64d3fbc1764d982bc1e962c081a852d08452b93630f4df
7
- data.tar.gz: 681467aa0759581e4410d1524ce7c67e6c0fc1148cb736417d057478d2b28910dbc7a50c850e6caa9bbf8efcfb881267724361aabf23369286494a660d5d107f
6
+ metadata.gz: ebe162b390bd2ebfe54290f41f5c4f6a83afd3b5d7ea2271de5ad61372a3d227156cd1de284b59fa239904c1afd2b9e188147bd0e51cea5bca1b3ed45746b141
7
+ data.tar.gz: adddcfed1ae140614377099810cd04fb7bef51b82769604c2261bd9e5703ca5aeaac5257ad05818d7987b37872a50fdffacb38fc68cb61349e0f6f6d21c3aaa3
data/README.md CHANGED
@@ -90,17 +90,10 @@ First up, create a contract that specifies the methods available in an interface
90
90
  end
91
91
 
92
92
 
93
- Add Laywer to your spec_helper:
93
+ Add Laywer to your spec_helper by including:
94
94
 
95
95
  require 'lawyer/rspec'
96
96
 
97
- RSpec.configure do |config|
98
- config.include Lawyer::RSpec::Matchers
99
- config.include Lawyer::RSpec::ContractDouble
100
-
101
- # ...
102
- end
103
-
104
97
  Test an implementation:
105
98
 
106
99
  require 'contracts/person'
data/lib/lawyer/rspec.rb CHANGED
@@ -1,2 +1,7 @@
1
1
  require 'lawyer/rspec/matchers'
2
2
  require 'lawyer/rspec/contract_double'
3
+
4
+ RSpec.configure do |config|
5
+ config.include Lawyer::RSpec::Matchers
6
+ config.include Lawyer::RSpec::ContractDouble
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Lawyer
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lawyer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Cinnamond
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-19 00:00:00.000000000 Z
11
+ date: 2014-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler