fix-its 0.1.1 → 0.2.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: 59829803f213c5961c945f2bb5f7ecc351d1f29a
4
- data.tar.gz: 372bae2577cab50cb08767ee3168af7d79f096bb
3
+ metadata.gz: 5fa2dbf799b816823cbbed0c6b70e679049564ba
4
+ data.tar.gz: 191227ef1f55ec3903f5f302b85289fd67ba0108
5
5
  SHA512:
6
- metadata.gz: fd1b80e904c6275d11b93713cb9efa6a4bdf2cdd58de9685c245cc695554c70d429b6e14e85d0f2e388c5275dbcab4c226d824a766dc488bbe2f8c74de2fc6f3
7
- data.tar.gz: e7958c67dfa9cc9d777f44389dab44840bff7c054c6d8756d4ad4a787b1e5b830e5182366971b506289c039c43a18901a5e90c78ff55fe83d10c8e49653ed993
6
+ metadata.gz: 24cf370dbef39562e938db1356622bc342c6e31ddfa8d0e3c0cd8c444373cd49582031d2b3e85e593920f2f8213a9bb838a5b210a9480efc6958ee114a6f05f2
7
+ data.tar.gz: b3fbc6d0fe2eaf17394359d3ab5b41a2895949f1c1acb35708be0e2c1528110040a47b091a11df53f6c22a81c9ed35eb89e35c3595a2bae4d2bb802f90d3b4e1
checksums.yaml.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
- # Fix
1
+ # Fix::Its
2
2
 
3
3
  [![Build Status](https://travis-ci.org/fixrb/fix-its.svg?branch=master)][travis]
4
4
  [![Gem Version](https://badge.fury.io/rb/fix-its.svg)][gem]
5
5
  [![Inline docs](http://inch-ci.org/github/fixrb/fix-its.svg?branch=master)][inchpages]
6
+ [![Documentation](http://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
6
7
 
7
8
  > Provides `its` method for attribute matching.
8
9
 
@@ -39,6 +40,10 @@ And then execute:
39
40
 
40
41
  $ bundle
41
42
 
43
+ ## Let's get started!
44
+
45
+ [![asciicast](https://asciinema.org/a/25973.png)](https://asciinema.org/a/25973)
46
+
42
47
  ## Usage
43
48
 
44
49
  Given this code:
@@ -91,3 +96,4 @@ See `LICENSE.md` file.
91
96
  [gem]: https://rubygems.org/gems/fix-its
92
97
  [travis]: https://travis-ci.org/fixrb/fix-its
93
98
  [inchpages]: http://inch-ci.org/github/fixrb/fix-its/
99
+ [rubydoc]: http://rubydoc.info/gems/fix-its/frames
data/VERSION.semver CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.2.0
@@ -0,0 +1 @@
1
+ 05b8fee178ec2745c8c09bd744909fd3650c7e5fc8385cb82b00e42bf7edcf535c2c1f266a4925249629809c678b36947a1adab3c6334a9c537ae0e2d38b6db8
data/fix-its.gemspec CHANGED
@@ -14,13 +14,13 @@ 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 'fix', '~> 0.7.0'
17
+ spec.add_dependency 'fix', '~> 0.9.1'
18
18
 
19
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.33'
23
+ spec.add_development_dependency 'rubocop', '~> 0.34'
24
24
 
25
25
  spec.cert_chain = ['certs/gem-fixrb-public_cert.pem']
26
26
  private_key = File.expand_path('~/.ssh/gem-fixrb-private_key.pem')
data/lib/fix/its.rb CHANGED
@@ -22,10 +22,7 @@ module Fix
22
22
  #
23
23
  # @return [Array] List of results.
24
24
  def its(method_name, &spec)
25
- i = It.new do
26
- Sandbox.new(@front_object,
27
- *@challenges, Spectus::Challenge.new(method_name)).actual
28
- end
25
+ i = It.new(@front_object, *@challenges, Defi.send(method_name))
29
26
 
30
27
  result = begin
31
28
  i.instance_eval(&spec)
@@ -33,7 +30,7 @@ module Fix
33
30
  f
34
31
  end
35
32
 
36
- print result.to_char
33
+ print result.to_char if @configuration.fetch(:verbose, true)
37
34
  results << result
38
35
  end
39
36
  end
data.tar.gz.sig CHANGED
@@ -1 +1 @@
1
- �����*����~�aX��V?�}ǔk3��t})i�y4�&4?��zњ���ϴ�"��wo�m,�UA8���M5ST����fy
1
+ �xe�X�+�Dl���t���i5N쫼U{j4�����.F%Y�����G����oA���|�e�@x[kϾL6a�G[�d���T� (� 5�*��=�3�N�3�ۗGJC�m��F�����G�O�� 8iި���B��RnqyYd��d��J�pk6c�Y����8�k[��ZC���'jd񍚲5{䜃��]'�"�{8��� �ٷ��3�z 6^��RA�)�<sHp�|#��h?oi�J\t��
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fix-its
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.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-03 00:00:00.000000000 Z
33
+ date: 2015-09-11 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: fix
@@ -38,14 +38,14 @@ dependencies:
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.7.0
41
+ version: 0.9.1
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: 0.7.0
48
+ version: 0.9.1
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: bundler
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -108,14 +108,14 @@ dependencies:
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '0.33'
111
+ version: '0.34'
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '0.33'
118
+ version: '0.34'
119
119
  description: Provides "its" method for attribute matching.
120
120
  email:
121
121
  - contact@cyril.email
@@ -137,6 +137,7 @@ files:
137
137
  - bin/setup
138
138
  - certs/gem-fixrb-public_cert.pem
139
139
  - checksum/fix-its-0.1.0.gem.sha512
140
+ - checksum/fix-its-0.1.1.gem.sha512
140
141
  - fix-its.gemspec
141
142
  - lib/fix/its.rb
142
143
  - pkg_checksum
metadata.gz.sig CHANGED
Binary file