expect 0.0.11 → 0.0.12

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: 7de6846baf7cc1312493683ed571e4a740b0cdcd
4
- data.tar.gz: 01a45a776cb1d2d08694108db3792bb95692ea98
3
+ metadata.gz: 7cfbd9d658cd744736750e4e4fa17bc048f4d092
4
+ data.tar.gz: a2f4153d80858a6bcdff5a8dfd37c9c082317003
5
5
  SHA512:
6
- metadata.gz: b9306020622f8ce7b24deadf68750834b6a80be8548d2301667ceeb6a07cca3e5c0594e0f6297ea7981365bbb4fa5a3d8c1c791adae51e7a8b129a2cb30fcf0c
7
- data.tar.gz: 6df8893e96b4b1ed8c0d6531795a8814533327b7a45a84036f139649d56cda6d69d1ef8f626638977baf7c9bdb7e661ee1ddcc95f6f5d764cde9db7a4226b1b8
6
+ metadata.gz: f7d77be585bb0eb287aa4040701bb3dab63ee8b49c0189ac257b6ce15238536e5eb15771ee8c221ea14ce12b941697cce086a7688c29d2c7cf5dafeb874a3e3a
7
+ data.tar.gz: 196c70e9766b9a4447f8feed85b9bba64f36a1cf681fce216d206bb6f02345fda479af5e93a59dfa216c1299d532897212aeb4273f8eba5dbf418f14d689b024
Binary file
@@ -0,0 +1,2 @@
1
+ �u�]�
2
+ <�ۂ `���[���(8���w��P�Ģ�A�c�>%�?#�eWL���nG �mxlI-g�|��:$'<�LT�#r�_e�v���&��#*>��qk�Dd�x0��j��#߽�a|�"�|"gɂsU�t��}���d�Oȁ
data/Rakefile CHANGED
@@ -1,5 +1,8 @@
1
1
  require 'bundler/gem_tasks'
2
2
  require 'rake/testtask'
3
+ require 'rubocop/rake_task'
4
+
5
+ RuboCop::RakeTask.new
3
6
 
4
7
  Rake::TestTask.new do |t|
5
8
  t.verbose = true
@@ -14,4 +17,4 @@ namespace :test do
14
17
  end
15
18
 
16
19
  task(:doc_stats) { ruby '-S yard stats' }
17
- task default: [:test, :doc_stats]
20
+ task default: [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igd2J5Q94Qrxarys1OFjNCboVRFz4oC8Ft7JbLAQq5s6g8qfSF6uCAffpvJg
17
+ 2sied6dgkMVKWO2yjrretyhouxcCYb5jUIw1C+drhZD+qXZNEqv4S/1HIvN4wLQo
18
+ 6bCBEmU6y6htZEV04mseS/n3MN75HhvddaO6GvKxRIox2lEPacYVsLg02vf14oSZ
19
+ JAoJK0pylOIOYNby0iAISk3czU1cmi2EZXGqezYqRnzgrwfjxQ3NvQJgz49qJ35m
20
+ vdqKN7VS1+j1AXyonlnVc1vujL7UbwvF
21
+ -----END CERTIFICATE-----
@@ -10,15 +10,21 @@ Gem::Specification.new do |spec|
10
10
  spec.license = 'MIT'
11
11
 
12
12
  spec.files =
13
- `git ls-files -z`.split("\x0").reject { |f| f.match(/%r{^test}/) }
14
- spec.executables = spec.files.grep(/%r{^exe}/) { |f| File.basename(f) }
13
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
14
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
15
15
  spec.require_paths = ['lib']
16
16
 
17
- spec.add_dependency 'matchi', '~> 0.0.6'
17
+ spec.add_dependency 'matchi', '~> 0.0'
18
18
 
19
- spec.add_development_dependency 'bundler', '~> 1.9'
19
+ spec.add_development_dependency 'bundler', '~> 1.10'
20
20
  spec.add_development_dependency 'rake', '~> 10.4'
21
21
  spec.add_development_dependency 'yard', '~> 0.8'
22
22
  spec.add_development_dependency 'simplecov', '~> 0.10'
23
- spec.add_development_dependency 'rubocop', '~> 0.31'
23
+ spec.add_development_dependency 'rubocop', '~> 0.32'
24
+
25
+ private_key = File.expand_path '~/.gem/expect-gem-private_key.pem'
26
+ if File.exist? private_key
27
+ spec.signing_key = private_key
28
+ spec.cert_chain = ['expect-gem-public_cert.pem']
29
+ end
24
30
  end
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Wack
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-05-07 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRAwDgYDVQQDDAdjb250
14
+ YWN0MRUwEwYKCZImiZPyLGQBGRYFY3lyaWwxFTATBgoJkiaJk/IsZAEZFgVlbWFp
15
+ bDAeFw0xNTA3MjUxNzEwMjlaFw0xNjA3MjQxNzEwMjlaMEAxEDAOBgNVBAMMB2Nv
16
+ bnRhY3QxFTATBgoJkiaJk/IsZAEZFgVjeXJpbDEVMBMGCgmSJomT8ixkARkWBWVt
17
+ YWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0EACxc54z3mt3TwH
18
+ c6kQxSG8dzo/BPDFEfhCKUw6ZqoNuCJtXpDPFkthU+fAy6uP4HDnaRGsMHXq81Sy
19
+ kciAzYMEghngcpMVwZMJHvCdQ1+h46OeDtMxDOVcjanFpUsSdr4OkyvNLFw2DtyN
20
+ RIDkItmeIR8nJpbL8qm4VcJyfiBU6aXPwKJHMM9bldO42FHua7fAWmt30cKxMCGq
21
+ DAydSElataUgqdA7RIugWvGdF0j2WloABxD/XdV2KhYpftHcxV5mGNEqoCe5sol8
22
+ j2mSaYDtD3iGhHjRlhoPEj8wTBjXFQZ5j4EMlUm8ocFbK9KGL5l5/Rgfh0si8TL1
23
+ KYSQ6QIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
24
+ 37rWCpfcBoXxjgYvY0bfydb4dbswHgYDVR0RBBcwFYETY29udGFjdEBjeXJpbC5l
25
+ bWFpbDAeBgNVHRIEFzAVgRNjb250YWN0QGN5cmlsLmVtYWlsMA0GCSqGSIb3DQEB
26
+ BQUAA4IBAQBw9I7QRS2b/DDHvU7GeRj78jXMC1h44jjgWD7pQgh/ElxF+eIjNuqw
27
+ eylIigd2J5Q94Qrxarys1OFjNCboVRFz4oC8Ft7JbLAQq5s6g8qfSF6uCAffpvJg
28
+ 2sied6dgkMVKWO2yjrretyhouxcCYb5jUIw1C+drhZD+qXZNEqv4S/1HIvN4wLQo
29
+ 6bCBEmU6y6htZEV04mseS/n3MN75HhvddaO6GvKxRIox2lEPacYVsLg02vf14oSZ
30
+ JAoJK0pylOIOYNby0iAISk3czU1cmi2EZXGqezYqRnzgrwfjxQ3NvQJgz49qJ35m
31
+ vdqKN7VS1+j1AXyonlnVc1vujL7UbwvF
32
+ -----END CERTIFICATE-----
33
+ date: 2015-07-25 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: matchi
@@ -16,28 +38,28 @@ dependencies:
16
38
  requirements:
17
39
  - - "~>"
18
40
  - !ruby/object:Gem::Version
19
- version: 0.0.6
41
+ version: '0.0'
20
42
  type: :runtime
21
43
  prerelease: false
22
44
  version_requirements: !ruby/object:Gem::Requirement
23
45
  requirements:
24
46
  - - "~>"
25
47
  - !ruby/object:Gem::Version
26
- version: 0.0.6
48
+ version: '0.0'
27
49
  - !ruby/object:Gem::Dependency
28
50
  name: bundler
29
51
  requirement: !ruby/object:Gem::Requirement
30
52
  requirements:
31
53
  - - "~>"
32
54
  - !ruby/object:Gem::Version
33
- version: '1.9'
55
+ version: '1.10'
34
56
  type: :development
35
57
  prerelease: false
36
58
  version_requirements: !ruby/object:Gem::Requirement
37
59
  requirements:
38
60
  - - "~>"
39
61
  - !ruby/object:Gem::Version
40
- version: '1.9'
62
+ version: '1.10'
41
63
  - !ruby/object:Gem::Dependency
42
64
  name: rake
43
65
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +108,14 @@ dependencies:
86
108
  requirements:
87
109
  - - "~>"
88
110
  - !ruby/object:Gem::Version
89
- version: '0.31'
111
+ version: '0.32'
90
112
  type: :development
91
113
  prerelease: false
92
114
  version_requirements: !ruby/object:Gem::Requirement
93
115
  requirements:
94
116
  - - "~>"
95
117
  - !ruby/object:Gem::Version
96
- version: '0.31'
118
+ version: '0.32'
97
119
  description: Expectation library with some matchers for Ruby.
98
120
  email:
99
121
  - contact@cyril.email
@@ -112,17 +134,10 @@ files:
112
134
  - VERSION.semver
113
135
  - bin/console
114
136
  - bin/setup
137
+ - expect-gem-public_cert.pem
115
138
  - expect.gemspec
116
139
  - lib/expect.rb
117
140
  - lib/expect/expectation_target.rb
118
- - test/support/coverage.rb
119
- - test/test_be_false.rb
120
- - test/test_be_nil.rb
121
- - test/test_be_true.rb
122
- - test/test_eql.rb
123
- - test/test_equal.rb
124
- - test/test_match.rb
125
- - test/test_raise_exception.rb
126
141
  homepage: https://github.com/fixrb/expect
127
142
  licenses:
128
143
  - MIT
Binary file
@@ -1,3 +0,0 @@
1
- require 'simplecov'
2
-
3
- SimpleCov.start
@@ -1,8 +0,0 @@
1
- require_relative File.join 'support', 'coverage'
2
- require_relative File.join '..', 'lib', 'expect'
3
-
4
- # It is expected to be false
5
- fail unless Expect.this { false }.to(:BeFalse)
6
-
7
- # It is expected to not be false
8
- fail if Expect.this { false }.not_to(:BeFalse)
@@ -1,8 +0,0 @@
1
- require_relative File.join 'support', 'coverage'
2
- require_relative File.join '..', 'lib', 'expect'
3
-
4
- # It is expected to be nil
5
- fail unless Expect.this { nil }.to(:BeNil)
6
-
7
- # It is expected to not be nil
8
- fail if Expect.this { nil }.not_to(:BeNil)
@@ -1,8 +0,0 @@
1
- require_relative File.join 'support', 'coverage'
2
- require_relative File.join '..', 'lib', 'expect'
3
-
4
- # It is expected to be true
5
- fail unless Expect.this { true }.to(:BeTrue)
6
-
7
- # It is expected to not be true
8
- fail if Expect.this { true }.not_to(:BeTrue)
@@ -1,8 +0,0 @@
1
- require_relative File.join 'support', 'coverage'
2
- require_relative File.join '..', 'lib', 'expect'
3
-
4
- # It is expected to be equivalent to 'foo'
5
- fail unless Expect.this { 'foo' }.to(Eql: 'foo')
6
-
7
- # It is expected to not be equivalent to 'foo'
8
- fail if Expect.this { 'foo' }.not_to(Eql: 'foo')
@@ -1,8 +0,0 @@
1
- require_relative File.join 'support', 'coverage'
2
- require_relative File.join '..', 'lib', 'expect'
3
-
4
- # It is expected to identity :foo
5
- fail unless Expect.this { :foo }.to(Equal: :foo)
6
-
7
- # It is expected to not identity :foo
8
- fail if Expect.this { :foo }.not_to(Equal: :foo)
@@ -1,8 +0,0 @@
1
- require_relative File.join 'support', 'coverage'
2
- require_relative File.join '..', 'lib', 'expect'
3
-
4
- # It is expected to match /^foo$/
5
- fail unless Expect.this { 'foo' }.to(Match: /^foo$/)
6
-
7
- # It is expected to not identity :foo
8
- fail if Expect.this { 'foo' }.not_to(Match: /^foo$/)
@@ -1,8 +0,0 @@
1
- require_relative File.join 'support', 'coverage'
2
- require_relative File.join '..', 'lib', 'expect'
3
-
4
- # It is expected to raise the exception NameError
5
- fail unless Expect.this { Boom }.to(RaiseException: NameError)
6
-
7
- # It is expected to not raise the exception NameError
8
- fail if Expect.this { Boom }.not_to(RaiseException: NameError)