esplanade 1.1.1 → 1.1.2

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: e7a126dc0b2306c956584ff2f97a90dfaf9998e5
4
- data.tar.gz: bd3eb9febbfeb29adb116ca810731133a60d4466
3
+ metadata.gz: bc7479b76e247ba0d85009c91c9114b000069b78
4
+ data.tar.gz: 7efc7851a8cce81fc368ca748a69309f2e382c43
5
5
  SHA512:
6
- metadata.gz: c521d6cca8a5da5bef53d03c07585b2f69b248cb6a9af3f9ade55d2b69b98d120176bdebd3079042e0893814f2131888d84cac7c801278266326602da49ecfbd
7
- data.tar.gz: ae27f5b1b4e7fa0e2269809ccc63c0ce37614f85f301e1e3203e855102fcb6c1f03e90ec94c428fe3ef361ba35d29f7f5546bd59daa23851310093fd7bdfad53
6
+ metadata.gz: 7e107bd64e45b84dfe9575e0e2e3324bb4e9b4cb565f50eb96de51b3e35bf71afbbe89434a541fa33251023cac1ec582addce0a6b44e121a0fa495bea61b1f6b
7
+ data.tar.gz: 751af6d98761fd85d58a11a017c12111f0997ca00bda8528e4f50ef19bc9a305a93293636bff0139374dcde430ed124fa55cc07a20da0afad2a867fba105b4cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 1.1.2 - 2018-02-14
4
+
5
+ * bug fixes
6
+ * add rewind rack.input
7
+
3
8
  ### 1.1.1 - 2018-02-13
4
9
 
5
10
  * bug fixes
data/esplanade.gemspec CHANGED
@@ -1,5 +1,3 @@
1
- # coding: utf-8
2
-
3
1
  lib = File.expand_path('../lib', __FILE__)
4
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
3
  require 'esplanade/version'
@@ -18,13 +16,13 @@ Gem::Specification.new do |spec|
18
16
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
17
  spec.require_paths = ['lib']
20
18
 
21
- spec.add_runtime_dependency 'multi_json', '~> 1.11', '>= 1.11.1'
22
19
  spec.add_runtime_dependency 'json-schema', '~> 2.6', '>= 2.6.2'
20
+ spec.add_runtime_dependency 'multi_json', '~> 1.11', '>= 1.11.1'
23
21
  spec.add_runtime_dependency 'tomograph', '~> 1.2', '>= 1.2.0'
24
22
  spec.add_development_dependency 'bundler', '~> 1.12'
25
- spec.add_development_dependency 'rake', '~> 10.0'
26
23
  spec.add_development_dependency 'byebug', '~> 8.2', '>= 8.2.1'
24
+ spec.add_development_dependency 'rake', '~> 10.0'
27
25
  spec.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
28
- spec.add_development_dependency 'rubocop', '~> 0.42', '>= 0.42.0'
26
+ spec.add_development_dependency 'rubocop', '~> 0.52', '>= 0.52.1'
29
27
  spec.add_development_dependency 'simplecov', '~> 0.11', '>= 0.11.2'
30
28
  end
@@ -10,7 +10,10 @@ module Esplanade
10
10
  end
11
11
 
12
12
  def to_string
13
- @string ||= @env["rack.input"].read
13
+ return @string if @string
14
+ @string = @env['rack.input'].read
15
+ @env['rack.input'].rewind
16
+ @string
14
17
  end
15
18
 
16
19
  def to_hash
@@ -1,3 +1,3 @@
1
1
  module Esplanade
2
- VERSION = '1.1.1'.freeze
2
+ VERSION = '1.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esplanade
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.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: 2018-02-13 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: multi_json
14
+ name: json-schema
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: '2.6'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.11.1
22
+ version: 2.6.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '1.11'
29
+ version: '2.6'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.11.1
32
+ version: 2.6.2
33
33
  - !ruby/object:Gem::Dependency
34
- name: json-schema
34
+ name: multi_json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '2.6'
39
+ version: '1.11'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 2.6.2
42
+ version: 1.11.1
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '2.6'
49
+ version: '1.11'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 2.6.2
52
+ version: 1.11.1
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: tomograph
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -85,39 +85,39 @@ dependencies:
85
85
  - !ruby/object:Gem::Version
86
86
  version: '1.12'
87
87
  - !ruby/object:Gem::Dependency
88
- name: rake
88
+ name: byebug
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: '10.0'
93
+ version: '8.2'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 8.2.1
94
97
  type: :development
95
98
  prerelease: false
96
99
  version_requirements: !ruby/object:Gem::Requirement
97
100
  requirements:
98
101
  - - "~>"
99
102
  - !ruby/object:Gem::Version
100
- version: '10.0'
103
+ version: '8.2'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 8.2.1
101
107
  - !ruby/object:Gem::Dependency
102
- name: byebug
108
+ name: rake
103
109
  requirement: !ruby/object:Gem::Requirement
104
110
  requirements:
105
111
  - - "~>"
106
112
  - !ruby/object:Gem::Version
107
- version: '8.2'
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: 8.2.1
113
+ version: '10.0'
111
114
  type: :development
112
115
  prerelease: false
113
116
  version_requirements: !ruby/object:Gem::Requirement
114
117
  requirements:
115
118
  - - "~>"
116
119
  - !ruby/object:Gem::Version
117
- version: '8.2'
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- version: 8.2.1
120
+ version: '10.0'
121
121
  - !ruby/object:Gem::Dependency
122
122
  name: rspec
123
123
  requirement: !ruby/object:Gem::Requirement
@@ -144,20 +144,20 @@ dependencies:
144
144
  requirements:
145
145
  - - "~>"
146
146
  - !ruby/object:Gem::Version
147
- version: '0.42'
147
+ version: '0.52'
148
148
  - - ">="
149
149
  - !ruby/object:Gem::Version
150
- version: 0.42.0
150
+ version: 0.52.1
151
151
  type: :development
152
152
  prerelease: false
153
153
  version_requirements: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: '0.42'
157
+ version: '0.52'
158
158
  - - ">="
159
159
  - !ruby/object:Gem::Version
160
- version: 0.42.0
160
+ version: 0.52.1
161
161
  - !ruby/object:Gem::Dependency
162
162
  name: simplecov
163
163
  requirement: !ruby/object:Gem::Requirement