fix 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/VERSION.semver +1 -1
- data/checksum/fix-0.8.0.gem.sha512 +1 -0
- data/fix.gemspec +1 -1
- data/lib/fix/helpers/it_helper.rb +1 -3
- data/lib/fix/it.rb +8 -0
- data/lib/fix/on.rb +0 -2
- metadata +5 -5
- metadata.gz.sig +4 -5
- data/lib/fix/sandbox.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ebfaaa58cb06ae5f855f99fb6d981b4325dcc06
|
4
|
+
data.tar.gz: 1b4c627461d40cf0ff5ea9af47c2d0fd62699fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1411cd608c85e9d6fc1ccaf0248f8ffd9e7a3acf00ba7e9eac97c5bb6f1d99b14fe6012c60bddf6ad19cb8746e7d1eac531f21fb4b0eb1ab6dc0dd19ceb9b69
|
7
|
+
data.tar.gz: 95819f48f0c4fd80570a737e412461da527878febb4f564436da6384c8c6dbfc3667277c9f45e63f67ab7df92d1fe2ec4634bdbd6734c72a8f10f4ff372a7a8d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/VERSION.semver
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.9.0
|
@@ -0,0 +1 @@
|
|
1
|
+
bdf94bb8790d1d0b5524f6ef0e7ac9a2f682cdd3248c52ef069acabbdc17ea685f050d737fa4fc121e9d7688641e2a8cd831b76537e58a6ebb5d169524f961e1
|
data/fix.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
15
15
|
spec.require_paths = ['lib']
|
16
16
|
|
17
|
-
spec.add_dependency 'spectus', '~> 2.
|
17
|
+
spec.add_dependency 'spectus', '~> 2.4.0'
|
18
18
|
|
19
19
|
spec.add_development_dependency 'bundler', '~> 1.10'
|
20
20
|
spec.add_development_dependency 'rake', '~> 10.4'
|
data/lib/fix/it.rb
CHANGED
@@ -6,5 +6,13 @@ module Fix
|
|
6
6
|
# @api private
|
7
7
|
#
|
8
8
|
class It < Spectus::ExpectationTarget
|
9
|
+
# Create a new expection target
|
10
|
+
#
|
11
|
+
# @param subject [BasicObject] The front object.
|
12
|
+
# @param challenges [Array] The list of challenges.
|
13
|
+
def initialize(subject, *challenges)
|
14
|
+
@subject = subject
|
15
|
+
@challenges = challenges
|
16
|
+
end
|
9
17
|
end
|
10
18
|
end
|
data/lib/fix/on.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Wack
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
dzJvWzQ1+dJU6WQv75E9ddSkaQrK3nhdgQVu+/wgvGSrsMvOGNz+LXaSDxQqZuwX
|
31
31
|
0KNQFuIukfrdk8URwRnHoAnvx4U93iUw
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-09-
|
33
|
+
date: 2015-09-10 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: spectus
|
@@ -38,14 +38,14 @@ dependencies:
|
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 2.
|
41
|
+
version: 2.4.0
|
42
42
|
type: :runtime
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 2.
|
48
|
+
version: 2.4.0
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: bundler
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,6 +137,7 @@ files:
|
|
137
137
|
- bin/setup
|
138
138
|
- certs/gem-fixrb-public_cert.pem
|
139
139
|
- checksum/fix-0.7.0.gem.sha512
|
140
|
+
- checksum/fix-0.8.0.gem.sha512
|
140
141
|
- fix.gemspec
|
141
142
|
- lib/fix.rb
|
142
143
|
- lib/fix/helpers/it_helper.rb
|
@@ -144,7 +145,6 @@ files:
|
|
144
145
|
- lib/fix/it.rb
|
145
146
|
- lib/fix/on.rb
|
146
147
|
- lib/fix/report.rb
|
147
|
-
- lib/fix/sandbox.rb
|
148
148
|
- lib/fix/test.rb
|
149
149
|
- pkg_checksum
|
150
150
|
homepage: https://github.com/fixrb/fix
|
metadata.gz.sig
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
b�\i�g�/{�}�C=��SzTݒ��Ei{Y�+�yF�NlR�Аl�`�/ذF
|
1
|
+
���� ��}ħ���d�n���u&�c��.f,�����@<�����
|
2
|
+
�N�y�]wV�1�����&�
|
3
|
+
o���
|
4
|
+
%E�Q����N��/�ɛ�
|
data/lib/fix/sandbox.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
module Fix
|
2
|
-
# Execute the untested code from the passed challenges.
|
3
|
-
#
|
4
|
-
# @api private
|
5
|
-
#
|
6
|
-
class Sandbox
|
7
|
-
# Initialize the sandbox class.
|
8
|
-
#
|
9
|
-
# @param object [BasicObject] The front object of the test.
|
10
|
-
# @param challenges [Array] The list of challenges to apply.
|
11
|
-
def initialize(object, *challenges)
|
12
|
-
@object = object
|
13
|
-
@challenges = challenges
|
14
|
-
end
|
15
|
-
|
16
|
-
# The actual value.
|
17
|
-
#
|
18
|
-
# @return [BasicObject] The actual value.
|
19
|
-
def actual
|
20
|
-
@challenges.inject(@object) do |subject, challenge|
|
21
|
-
subject.public_send(challenge.symbol, *challenge.args)
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|