mshard 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -1
- data/.travis.yml +6 -3
- data/Gemfile.lock +50 -50
- data/lib/mshard/mshard.rb +2 -1
- data/lib/mshard/version.rb +1 -1
- data/mshard.gemspec +1 -0
- data/spec/lib/mshard/mshard_spec.rb +3 -3
- metadata +17 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de175ccd52325447343f0fc921f9a179ce00781c
|
4
|
+
data.tar.gz: 66842743f204b3dc2b4edfc4eac63f05905e9dd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8fa017c7ee81f5453dfa6e0155d489ec2057b4dff4a22154fd261fdefbb7e5c846278731e6222e60e96836334fe8ae2ea72d95bcd3bc0b113d51bb316be7ce7
|
7
|
+
data.tar.gz: 84ac787249a1d035c94e397184ebc84d5fbb89c1f1b9dc3ae68b8f925ae90cd9538d185b12666619ce2c715f9d0dee9c1d409c684698687bac4c6fe4e447ede5
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,29 +1,28 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mshard (0.5.
|
4
|
+
mshard (0.5.1)
|
5
5
|
haml
|
6
6
|
httparty
|
7
|
+
no_proxy_fix
|
7
8
|
thor
|
8
9
|
|
9
10
|
GEM
|
10
11
|
remote: http://rubygems.org/
|
11
12
|
specs:
|
12
|
-
ast (2.
|
13
|
-
|
14
|
-
parser (~> 2.2)
|
15
|
-
codecov (0.1.2)
|
13
|
+
ast (2.3.0)
|
14
|
+
codecov (0.1.9)
|
16
15
|
json
|
17
16
|
simplecov
|
18
17
|
url
|
19
|
-
coderay (1.1.
|
20
|
-
diff-lcs (1.
|
18
|
+
coderay (1.1.1)
|
19
|
+
diff-lcs (1.3)
|
21
20
|
docile (1.1.5)
|
22
|
-
ffi (1.9.
|
21
|
+
ffi (1.9.17)
|
23
22
|
formatador (0.2.5)
|
24
|
-
guard (2.
|
23
|
+
guard (2.14.1)
|
25
24
|
formatador (>= 0.2.4)
|
26
|
-
listen (>= 2.7,
|
25
|
+
listen (>= 2.7, < 4.0)
|
27
26
|
lumberjack (~> 1.0)
|
28
27
|
nenv (~> 0.1)
|
29
28
|
notiffany (~> 0.0)
|
@@ -31,7 +30,7 @@ GEM
|
|
31
30
|
shellany (~> 0.0)
|
32
31
|
thor (>= 0.18.1)
|
33
32
|
guard-compat (1.2.1)
|
34
|
-
guard-rspec (4.
|
33
|
+
guard-rspec (4.7.3)
|
35
34
|
guard (~> 2.1)
|
36
35
|
guard-compat (~> 1.1)
|
37
36
|
rspec (>= 2.99.0, < 4.0)
|
@@ -40,63 +39,64 @@ GEM
|
|
40
39
|
rubocop (~> 0.20)
|
41
40
|
haml (4.0.7)
|
42
41
|
tilt
|
43
|
-
httparty (0.
|
44
|
-
json (~> 1.8)
|
42
|
+
httparty (0.14.0)
|
45
43
|
multi_xml (>= 0.5.2)
|
46
|
-
json (
|
47
|
-
listen (3.
|
48
|
-
rb-fsevent (>= 0.9.
|
49
|
-
rb-inotify (>= 0.9)
|
50
|
-
|
44
|
+
json (2.0.3)
|
45
|
+
listen (3.1.5)
|
46
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
47
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
48
|
+
ruby_dep (~> 1.2)
|
49
|
+
lumberjack (1.0.11)
|
51
50
|
method_source (0.8.2)
|
52
|
-
multi_xml (0.
|
53
|
-
nenv (0.
|
54
|
-
|
51
|
+
multi_xml (0.6.0)
|
52
|
+
nenv (0.3.0)
|
53
|
+
no_proxy_fix (0.1.0)
|
54
|
+
notiffany (0.1.1)
|
55
55
|
nenv (~> 0.1)
|
56
56
|
shellany (~> 0.0)
|
57
|
-
parser (2.
|
58
|
-
ast (
|
57
|
+
parser (2.3.3.1)
|
58
|
+
ast (~> 2.2)
|
59
59
|
powerpack (0.1.1)
|
60
|
-
pry (0.10.
|
60
|
+
pry (0.10.4)
|
61
61
|
coderay (~> 1.1.0)
|
62
62
|
method_source (~> 0.8.1)
|
63
63
|
slop (~> 3.4)
|
64
|
-
rainbow (2.
|
65
|
-
rake (10.
|
66
|
-
rb-fsevent (0.9.
|
67
|
-
rb-inotify (0.9.
|
64
|
+
rainbow (2.2.1)
|
65
|
+
rake (10.5.0)
|
66
|
+
rb-fsevent (0.9.8)
|
67
|
+
rb-inotify (0.9.8)
|
68
68
|
ffi (>= 0.5.0)
|
69
|
-
rspec (3.
|
70
|
-
rspec-core (~> 3.
|
71
|
-
rspec-expectations (~> 3.
|
72
|
-
rspec-mocks (~> 3.
|
73
|
-
rspec-core (3.4
|
74
|
-
rspec-support (~> 3.
|
75
|
-
rspec-expectations (3.
|
69
|
+
rspec (3.5.0)
|
70
|
+
rspec-core (~> 3.5.0)
|
71
|
+
rspec-expectations (~> 3.5.0)
|
72
|
+
rspec-mocks (~> 3.5.0)
|
73
|
+
rspec-core (3.5.4)
|
74
|
+
rspec-support (~> 3.5.0)
|
75
|
+
rspec-expectations (3.5.0)
|
76
76
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
-
rspec-support (~> 3.
|
78
|
-
rspec-mocks (3.
|
77
|
+
rspec-support (~> 3.5.0)
|
78
|
+
rspec-mocks (3.5.0)
|
79
79
|
diff-lcs (>= 1.2.0, < 2.0)
|
80
|
-
rspec-support (~> 3.
|
81
|
-
rspec-support (3.
|
82
|
-
rubocop (0.
|
83
|
-
|
84
|
-
parser (>= 2.2.3.0, < 3.0)
|
80
|
+
rspec-support (~> 3.5.0)
|
81
|
+
rspec-support (3.5.0)
|
82
|
+
rubocop (0.47.1)
|
83
|
+
parser (>= 2.3.3.1, < 3.0)
|
85
84
|
powerpack (~> 0.1)
|
86
85
|
rainbow (>= 1.99.1, < 3.0)
|
87
86
|
ruby-progressbar (~> 1.7)
|
88
|
-
|
89
|
-
ruby-progressbar (1.
|
87
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
88
|
+
ruby-progressbar (1.8.1)
|
89
|
+
ruby_dep (1.5.0)
|
90
90
|
shellany (0.0.1)
|
91
|
-
simplecov (0.
|
91
|
+
simplecov (0.13.0)
|
92
92
|
docile (~> 1.1.0)
|
93
|
-
json (
|
93
|
+
json (>= 1.8, < 3)
|
94
94
|
simplecov-html (~> 0.10.0)
|
95
95
|
simplecov-html (0.10.0)
|
96
96
|
slop (3.6.0)
|
97
|
-
thor (0.19.
|
98
|
-
tilt (2.0.
|
99
|
-
|
97
|
+
thor (0.19.4)
|
98
|
+
tilt (2.0.6)
|
99
|
+
unicode-display_width (1.1.3)
|
100
100
|
url (0.3.2)
|
101
101
|
|
102
102
|
PLATFORMS
|
@@ -116,4 +116,4 @@ DEPENDENCIES
|
|
116
116
|
simplecov
|
117
117
|
|
118
118
|
BUNDLED WITH
|
119
|
-
1.
|
119
|
+
1.14.3
|
data/lib/mshard/mshard.rb
CHANGED
data/lib/mshard/version.rb
CHANGED
data/mshard.gemspec
CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency 'httparty'
|
23
23
|
spec.add_dependency 'haml'
|
24
24
|
spec.add_dependency 'thor'
|
25
|
+
spec.add_dependency 'no_proxy_fix'
|
25
26
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
26
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
27
28
|
spec.add_development_dependency 'rspec'
|
@@ -3,7 +3,7 @@ require 'mshard'
|
|
3
3
|
describe MShard::MShard do
|
4
4
|
it '#try works' do
|
5
5
|
expect(subject.try { :result }).to be(:result)
|
6
|
-
expect(subject.try(delay: 0.01) {
|
6
|
+
expect(subject.try(delay: 0.01) { raise }).to be(nil)
|
7
7
|
end
|
8
8
|
|
9
9
|
describe '#get' do
|
@@ -44,11 +44,11 @@ describe MShard::MShard do
|
|
44
44
|
|
45
45
|
it '#error_to_html works' do
|
46
46
|
e = begin
|
47
|
-
|
47
|
+
raise
|
48
48
|
rescue => e
|
49
49
|
e
|
50
50
|
end
|
51
|
-
html =
|
51
|
+
html = subject.error_to_html(e)
|
52
52
|
expect(html).to include('<title>Error</title>')
|
53
53
|
expect(html).to include('<pre>RuntimeError</pre>')
|
54
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mshard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Minwoo Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: no_proxy_fix
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,11 +244,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
244
|
version: '0'
|
231
245
|
requirements: []
|
232
246
|
rubyforge_project:
|
233
|
-
rubygems_version: 2.
|
247
|
+
rubygems_version: 2.6.8
|
234
248
|
signing_key:
|
235
249
|
specification_version: 4
|
236
250
|
summary: MShard
|
237
251
|
test_files:
|
238
252
|
- spec/lib/mshard/mshard_spec.rb
|
239
253
|
- spec/spec_helper.rb
|
240
|
-
has_rdoc:
|