tomogram_routing 0.1.1 → 0.1.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: 40c71f2d5d02c1d3e2d6d3ede38acd7e631360c7
4
- data.tar.gz: 315b8621508630cee3e85b3dfa44226e2888b41d
3
+ metadata.gz: 8ae246c072355f0d5b3e4e960d2f808f5435a36b
4
+ data.tar.gz: 8d1d77d561e7caa2d6be27c962fb2a8ea9c7b5aa
5
5
  SHA512:
6
- metadata.gz: 6578be1075a67fd925d5d6d1210a705663fded098aab183912594a05dee74937df242a39457e84a65f3a544113aeda90d7e37e75b44064310666f261f0afe642
7
- data.tar.gz: 3bbea2a07730322eeea04ef8411e72fa744e3d8c36e487324cb108a183b1d1abefd409b5f9d63777e8fa66659ab23b4669327bf654bb19b5d606400268138659
6
+ metadata.gz: a781d74b035cd554c24313b8a9abd50c1ae110f47fe8bd30c1d3cf22d89a27baee5ad99852ff183a17e7f434162fb76b24052f6034a385a646a089d95ea6e507
7
+ data.tar.gz: 9ef45a24fa561be78e8e449c385d8029dfb2d59215c64a6b46c7b0bc2763a2392fce4aaf03e43475b09b67de7596dbd6b5c2e3776cfa4eefe80bcb1142628f85
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.3
2
+ TargetRubyVersion: 2.2
3
3
 
4
4
  Metrics/LineLength:
5
5
  Max: 120
data/README.md CHANGED
@@ -12,16 +12,16 @@ require 'tomogram_routing'
12
12
  ```
13
13
 
14
14
  ## Using
15
- ```
15
+ ```ruby
16
16
  tomogram = TomogramRouting::Tomogram.craft(tomogram.json)
17
17
  ```
18
18
 
19
19
  ### find_request
20
- ```
20
+ ```ruby
21
21
  expect_request = tomogram.find_request(method:, path:)
22
22
  ```
23
23
 
24
24
  ### find_find_responses
25
- ```
25
+ ```ruby
26
26
  expect_responses = expect_request.find_responses(status:)
27
27
  ```
@@ -26,7 +26,7 @@ module TomogramRouting
26
26
  return action['path'] if action
27
27
 
28
28
  action = search_with_parameter(method, path, self)
29
- return action['path'] if action&.first
29
+ return action['path'] if action && action.first
30
30
 
31
31
  ''
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module TomogramRouting
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomogram_routing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2017-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json