rubanok 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: c22d92e478499cec879d532e120f57d6a07f2655c3f0ba112b613e5e4123c97e
4
- data.tar.gz: 2010c2271258c7a39cace169a0a6eaf7b90c1c2029392a1d5ec4e9dce49c91be
3
+ metadata.gz: 5b5cdbefb98c951e26be6bfcd8029250f8b314c9b7bb86e5d5d778bc340b4d40
4
+ data.tar.gz: abd725823622bdf1ff062cc1496dfd121522e6b866ec01ce2bc9ea421a56785e
5
5
  SHA512:
6
- metadata.gz: 1ae97af6ca1cb1e7ab77f0ac84011a6dcb31882415d96ed6cf89f55d74c47898187d653285b130d7e80b8e97e23d8c23e106954efb455f89189346fad05e3b84
7
- data.tar.gz: 35296df1a1434889966c90bd3c309ac25c5a6719035b8088b4964d5071fc8ad9e509833b4a8851bd576bde727a344c5c43610e423247d639953192bc9f1b068d
6
+ metadata.gz: aeec1ebbf07db8ec31046cf1442ffac9e6cae698e979768e8560d189f7ab23bfc13d9ef2979dbd45fd00490a5101e3f3b3900d4ff2425b2112880915e8446ba6
7
+ data.tar.gz: e66af487b2f7b82626d790bc0746559102de30ec0220e5d12de1ce0f29c79c98ed0bad6744ab90df5c5a931b421d90d1b4b4d082e70d15f714efb49fb56b2418
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ Gemfile.lock
data/.travis.yml CHANGED
@@ -6,6 +6,10 @@ rvm:
6
6
  notifications:
7
7
  email: false
8
8
 
9
+ before_install:
10
+ - gem update --system
11
+ - gem install bundler
12
+
9
13
  matrix:
10
14
  fast_finish: true
11
15
  include:
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.1.1 (2019-01-16)
6
+
7
+ - Fix RSpec matcher to call original implementation instead of returning `nil`. ([@palkan][])
8
+
5
9
  ## 0.1.0 (2019-01-04)
6
10
 
7
11
  Initial implementation.
@@ -9,3 +13,5 @@ Initial implementation.
9
13
  ## 0.0.1 (2018-12-07)
10
14
 
11
15
  Proposal added.
16
+
17
+ [@palkan]: https://github.com/palkan
data/README.md CHANGED
@@ -71,7 +71,7 @@ class CourseSessionsPlane < Rubanok::Plane
71
71
  # You can map keys
72
72
  map :q do |q:|
73
73
  # `raw` is an accessor for input data
74
- raw.searh(q)
74
+ raw.search(q)
75
75
  end
76
76
  end
77
77
 
data/lib/rubanok/rspec.rb CHANGED
@@ -29,7 +29,7 @@ module Rubanok
29
29
 
30
30
  raise ArgumentError, "Plane class is required. Please, specify it using `.with` modifier" if plane.nil?
31
31
 
32
- allow(plane).to receive(:call)
32
+ allow(plane).to receive(:call).and_call_original
33
33
  proc.call
34
34
 
35
35
  matcher.with(an_instance_of(data_class), anything) if data_class
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubanok
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/rubanok.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency "actionpack", ">= 4.2"
28
28
  spec.add_development_dependency "actionview", ">= 4.2"
29
- spec.add_development_dependency "bundler", "~> 1.16"
29
+ spec.add_development_dependency "bundler", ">= 1.16"
30
30
  spec.add_development_dependency "rake", "~> 10.0"
31
31
  spec.add_development_dependency "rspec", "~> 3.0"
32
32
  spec.add_development_dependency "rspec-rails"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubanok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-05 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -42,14 +42,14 @@ dependencies:
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.16'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.16'
55
55
  - !ruby/object:Gem::Dependency
@@ -136,7 +136,6 @@ files:
136
136
  - CHANGELOG.md
137
137
  - Gemfile
138
138
  - Gemfile.local
139
- - Gemfile.lock
140
139
  - LICENSE.txt
141
140
  - README.md
142
141
  - Rakefile
@@ -175,7 +174,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
174
  - !ruby/object:Gem::Version
176
175
  version: '0'
177
176
  requirements: []
178
- rubygems_version: 3.0.1
177
+ rubyforge_project:
178
+ rubygems_version: 2.7.6
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Parameters-based transformation DSL
data/Gemfile.lock DELETED
@@ -1,136 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rubanok (0.1.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- actionpack (5.2.2)
10
- actionview (= 5.2.2)
11
- activesupport (= 5.2.2)
12
- rack (~> 2.0)
13
- rack-test (>= 0.6.3)
14
- rails-dom-testing (~> 2.0)
15
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
16
- actionview (5.2.2)
17
- activesupport (= 5.2.2)
18
- builder (~> 3.1)
19
- erubi (~> 1.4)
20
- rails-dom-testing (~> 2.0)
21
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
22
- activesupport (5.2.2)
23
- concurrent-ruby (~> 1.0, >= 1.0.2)
24
- i18n (>= 0.7, < 2)
25
- minitest (~> 5.1)
26
- tzinfo (~> 1.1)
27
- ast (2.4.0)
28
- builder (3.2.3)
29
- byebug (10.0.2)
30
- coderay (1.1.2)
31
- concurrent-ruby (1.1.4)
32
- crass (1.0.4)
33
- diff-lcs (1.3)
34
- docile (1.3.1)
35
- erubi (1.8.0)
36
- i18n (1.4.0)
37
- concurrent-ruby (~> 1.0)
38
- jaro_winkler (1.5.2)
39
- json (2.1.0)
40
- loofah (2.2.3)
41
- crass (~> 1.0.2)
42
- nokogiri (>= 1.5.9)
43
- method_source (0.9.2)
44
- mini_portile2 (2.4.0)
45
- minitest (5.11.3)
46
- nokogiri (1.10.0)
47
- mini_portile2 (~> 2.4.0)
48
- parallel (1.12.1)
49
- parser (2.5.3.0)
50
- ast (~> 2.4.0)
51
- powerpack (0.1.2)
52
- pry (0.12.2)
53
- coderay (~> 1.1.0)
54
- method_source (~> 0.9.0)
55
- pry-byebug (3.6.0)
56
- byebug (~> 10.0)
57
- pry (~> 0.10)
58
- rack (2.0.6)
59
- rack-test (1.1.0)
60
- rack (>= 1.0, < 3)
61
- rails-dom-testing (2.0.3)
62
- activesupport (>= 4.2.0)
63
- nokogiri (>= 1.6)
64
- rails-html-sanitizer (1.0.4)
65
- loofah (~> 2.2, >= 2.2.2)
66
- railties (5.2.2)
67
- actionpack (= 5.2.2)
68
- activesupport (= 5.2.2)
69
- method_source
70
- rake (>= 0.8.7)
71
- thor (>= 0.19.0, < 2.0)
72
- rainbow (3.0.0)
73
- rake (10.5.0)
74
- rspec (3.8.0)
75
- rspec-core (~> 3.8.0)
76
- rspec-expectations (~> 3.8.0)
77
- rspec-mocks (~> 3.8.0)
78
- rspec-core (3.8.0)
79
- rspec-support (~> 3.8.0)
80
- rspec-expectations (3.8.2)
81
- diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.8.0)
83
- rspec-mocks (3.8.0)
84
- diff-lcs (>= 1.2.0, < 2.0)
85
- rspec-support (~> 3.8.0)
86
- rspec-rails (3.8.1)
87
- actionpack (>= 3.0)
88
- activesupport (>= 3.0)
89
- railties (>= 3.0)
90
- rspec-core (~> 3.8.0)
91
- rspec-expectations (~> 3.8.0)
92
- rspec-mocks (~> 3.8.0)
93
- rspec-support (~> 3.8.0)
94
- rspec-support (3.8.0)
95
- rubocop (0.62.0)
96
- jaro_winkler (~> 1.5.1)
97
- parallel (~> 1.10)
98
- parser (>= 2.5, != 2.5.1.1)
99
- powerpack (~> 0.1)
100
- rainbow (>= 2.2.2, < 4.0)
101
- ruby-progressbar (~> 1.7)
102
- unicode-display_width (~> 1.4.0)
103
- rubocop-rspec (1.31.0)
104
- rubocop (>= 0.60.0)
105
- ruby-progressbar (1.10.0)
106
- simplecov (0.16.1)
107
- docile (~> 1.1)
108
- json (>= 1.8, < 3)
109
- simplecov-html (~> 0.10.0)
110
- simplecov-html (0.10.2)
111
- standard (0.0.24)
112
- rubocop (>= 0.60)
113
- thor (0.20.3)
114
- thread_safe (0.3.6)
115
- tzinfo (1.2.5)
116
- thread_safe (~> 0.1)
117
- unicode-display_width (1.4.1)
118
-
119
- PLATFORMS
120
- ruby
121
-
122
- DEPENDENCIES
123
- actionpack (~> 5.2)
124
- actionview (~> 5.2)
125
- bundler (~> 1.16)
126
- pry-byebug
127
- rake (~> 10.0)
128
- rspec (~> 3.0)
129
- rspec-rails
130
- rubanok!
131
- rubocop-rspec
132
- simplecov
133
- standard
134
-
135
- BUNDLED WITH
136
- 1.17.2