external_services 0.2.1 → 0.2.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: 0823a925da15928e53ddcadd044ebcac587612b8
4
- data.tar.gz: cae3a053c8bbc1f23c48579177a1661e94186e6c
3
+ metadata.gz: 64b5852fa292ca21a3b5770ef49868a47d9d32ea
4
+ data.tar.gz: 0f05799df909d0b6235c35b1e90791fd03bfcd4c
5
5
  SHA512:
6
- metadata.gz: 27cadf05093e1b5c36ce734620c0c5338ba7ed4b37b7c6112a6b7d64a767911b355948fa8f6a15595d02bb64323cf58385a8a8ef63da6ed1df070c259ad171e3
7
- data.tar.gz: 03bed8fbf33d6c2dc987ce1e180000e172564fc761f12056ec9c53eba98f614afb39b9d5be09e6267c3459d07cbff2ef74d2b7a2221bf30840102ada9eb8d496
6
+ metadata.gz: 1bf3469a63161b5b6da6aea8d6beb3b145a44d8e5bce1ea429fc7d92a05448cec65e8c72fac7df5e3c7461665b5467b081155a65d2a17e4640c7780afc2162d7
7
+ data.tar.gz: a7bfd543bcc7453079d292dd07b366ae46d705f4e589da22c679f552b7fe274e31ee484b8a64f81b0beb3ae06a5f8de7486e20df24c590a6f03410eb090bc70f
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
data/Gemfile.lock ADDED
@@ -0,0 +1,219 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ external_services (0.2.2)
5
+ faraday (>= 0.9)
6
+ faraday_middleware (>= 0.10)
7
+ rails (>= 4.2.5, < 6.0)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actioncable (5.0.0)
13
+ actionpack (= 5.0.0)
14
+ nio4r (~> 1.2)
15
+ websocket-driver (~> 0.6.1)
16
+ actionmailer (5.0.0)
17
+ actionpack (= 5.0.0)
18
+ actionview (= 5.0.0)
19
+ activejob (= 5.0.0)
20
+ mail (~> 2.5, >= 2.5.4)
21
+ rails-dom-testing (~> 2.0)
22
+ actionpack (5.0.0)
23
+ actionview (= 5.0.0)
24
+ activesupport (= 5.0.0)
25
+ rack (~> 2.0)
26
+ rack-test (~> 0.6.3)
27
+ rails-dom-testing (~> 2.0)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
+ actionview (5.0.0)
30
+ activesupport (= 5.0.0)
31
+ builder (~> 3.1)
32
+ erubis (~> 2.7.0)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
35
+ activejob (5.0.0)
36
+ activesupport (= 5.0.0)
37
+ globalid (>= 0.3.6)
38
+ activemodel (5.0.0)
39
+ activesupport (= 5.0.0)
40
+ activerecord (5.0.0)
41
+ activemodel (= 5.0.0)
42
+ activesupport (= 5.0.0)
43
+ arel (~> 7.0)
44
+ activesupport (5.0.0)
45
+ concurrent-ruby (~> 1.0, >= 1.0.2)
46
+ i18n (~> 0.7)
47
+ minitest (~> 5.1)
48
+ tzinfo (~> 1.1)
49
+ addressable (2.4.0)
50
+ arel (7.1.4)
51
+ ast (2.3.0)
52
+ backports (3.6.8)
53
+ builder (3.2.2)
54
+ childprocess (0.6.3)
55
+ ffi (~> 1.0, >= 1.0.11)
56
+ coderay (1.1.1)
57
+ concurrent-ruby (1.0.2)
58
+ diff-lcs (1.2.5)
59
+ erubis (2.7.0)
60
+ ethon (0.9.0)
61
+ ffi (>= 1.3.0)
62
+ factory_girl (4.7.0)
63
+ activesupport (>= 3.0.0)
64
+ factory_girl_rails (4.7.0)
65
+ factory_girl (~> 4.7.0)
66
+ railties (>= 3.0.0)
67
+ faraday (0.9.2)
68
+ multipart-post (>= 1.2, < 3)
69
+ faraday_middleware (0.10.0)
70
+ faraday (>= 0.7.4, < 0.10)
71
+ ffi (1.9.18)
72
+ gh (0.14.0)
73
+ addressable
74
+ backports
75
+ faraday (~> 0.8)
76
+ multi_json (~> 1.0)
77
+ net-http-persistent (>= 2.7)
78
+ net-http-pipeline
79
+ globalid (0.3.7)
80
+ activesupport (>= 4.1.0)
81
+ highline (1.7.8)
82
+ i18n (0.7.0)
83
+ iniparse (1.4.2)
84
+ json (2.0.2)
85
+ launchy (2.4.3)
86
+ addressable (~> 2.3)
87
+ loofah (2.0.3)
88
+ nokogiri (>= 1.5.9)
89
+ mail (2.6.4)
90
+ mime-types (>= 1.16, < 4)
91
+ method_source (0.8.2)
92
+ mime-types (3.1)
93
+ mime-types-data (~> 3.2015)
94
+ mime-types-data (3.2016.0521)
95
+ mini_portile2 (2.1.0)
96
+ minitest (5.9.0)
97
+ multi_json (1.12.1)
98
+ multipart-post (2.0.0)
99
+ net-http-persistent (2.9.4)
100
+ net-http-pipeline (1.0.1)
101
+ nio4r (1.2.1)
102
+ nokogiri (1.6.8)
103
+ mini_portile2 (~> 2.1.0)
104
+ pkg-config (~> 1.1.7)
105
+ overcommit (0.39.1)
106
+ childprocess (~> 0.6.3)
107
+ iniparse (~> 1.4)
108
+ parser (2.3.1.2)
109
+ ast (~> 2.2)
110
+ pkg-config (1.1.7)
111
+ powerpack (0.1.1)
112
+ pry (0.10.4)
113
+ coderay (~> 1.1.0)
114
+ method_source (~> 0.8.1)
115
+ slop (~> 3.4)
116
+ pry-rails (0.3.4)
117
+ pry (>= 0.9.10)
118
+ pusher-client (0.6.2)
119
+ json
120
+ websocket (~> 1.0)
121
+ rack (2.0.1)
122
+ rack-test (0.6.3)
123
+ rack (>= 1.0)
124
+ rails (5.0.0)
125
+ actioncable (= 5.0.0)
126
+ actionmailer (= 5.0.0)
127
+ actionpack (= 5.0.0)
128
+ actionview (= 5.0.0)
129
+ activejob (= 5.0.0)
130
+ activemodel (= 5.0.0)
131
+ activerecord (= 5.0.0)
132
+ activesupport (= 5.0.0)
133
+ bundler (>= 1.3.0, < 2.0)
134
+ railties (= 5.0.0)
135
+ sprockets-rails (>= 2.0.0)
136
+ rails-dom-testing (2.0.1)
137
+ activesupport (>= 4.2.0, < 6.0)
138
+ nokogiri (~> 1.6.0)
139
+ rails-html-sanitizer (1.0.3)
140
+ loofah (~> 2.0)
141
+ railties (5.0.0)
142
+ actionpack (= 5.0.0)
143
+ activesupport (= 5.0.0)
144
+ method_source
145
+ rake (>= 0.8.7)
146
+ thor (>= 0.18.1, < 2.0)
147
+ rainbow (2.1.0)
148
+ rake (10.5.0)
149
+ rspec-core (3.5.2)
150
+ rspec-support (~> 3.5.0)
151
+ rspec-expectations (3.5.0)
152
+ diff-lcs (>= 1.2.0, < 2.0)
153
+ rspec-support (~> 3.5.0)
154
+ rspec-mocks (3.5.0)
155
+ diff-lcs (>= 1.2.0, < 2.0)
156
+ rspec-support (~> 3.5.0)
157
+ rspec-rails (3.5.1)
158
+ actionpack (>= 3.0)
159
+ activesupport (>= 3.0)
160
+ railties (>= 3.0)
161
+ rspec-core (~> 3.5.0)
162
+ rspec-expectations (~> 3.5.0)
163
+ rspec-mocks (~> 3.5.0)
164
+ rspec-support (~> 3.5.0)
165
+ rspec-support (3.5.0)
166
+ rubocop (0.42.0)
167
+ parser (>= 2.3.1.1, < 3.0)
168
+ powerpack (~> 0.1)
169
+ rainbow (>= 1.99.1, < 3.0)
170
+ ruby-progressbar (~> 1.7)
171
+ unicode-display_width (~> 1.0, >= 1.0.1)
172
+ ruby-progressbar (1.8.1)
173
+ slop (3.6.0)
174
+ sprockets (3.7.1)
175
+ concurrent-ruby (~> 1.0)
176
+ rack (> 1, < 3)
177
+ sprockets-rails (3.2.0)
178
+ actionpack (>= 4.0)
179
+ activesupport (>= 4.0)
180
+ sprockets (>= 3.0.0)
181
+ sqlite3 (1.3.11)
182
+ thor (0.19.1)
183
+ thread_safe (0.3.5)
184
+ travis (1.8.2)
185
+ backports
186
+ faraday (~> 0.9)
187
+ faraday_middleware (~> 0.9, >= 0.9.1)
188
+ gh (~> 0.13)
189
+ highline (~> 1.6)
190
+ launchy (~> 2.1)
191
+ pusher-client (~> 0.4)
192
+ typhoeus (~> 0.6, >= 0.6.8)
193
+ typhoeus (0.8.0)
194
+ ethon (>= 0.8.0)
195
+ tzinfo (1.2.2)
196
+ thread_safe (~> 0.1)
197
+ unicode-display_width (1.1.0)
198
+ websocket (1.2.3)
199
+ websocket-driver (0.6.5)
200
+ websocket-extensions (>= 0.1.0)
201
+ websocket-extensions (0.1.2)
202
+
203
+ PLATFORMS
204
+ ruby
205
+
206
+ DEPENDENCIES
207
+ bundler (~> 1.12)
208
+ external_services!
209
+ factory_girl_rails
210
+ overcommit
211
+ pry-rails
212
+ rake (~> 10.0)
213
+ rspec-rails
214
+ rubocop (~> 0.42)
215
+ sqlite3
216
+ travis (~> 1.8, >= 1.8.2)
217
+
218
+ BUNDLED WITH
219
+ 1.14.6
@@ -44,6 +44,10 @@ module ExternalServices
44
44
  async ? super : calculate_signature
45
45
  end
46
46
 
47
+ def data
48
+ !async && (method.to_sym == :delete) ? nil : super
49
+ end
50
+
47
51
  protected
48
52
 
49
53
  def assign_queue
@@ -1,3 +1,3 @@
1
1
  module ExternalServices
2
- VERSION = '0.2.1'.freeze
2
+ VERSION = '0.2.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: external_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Gnuskov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-20 00:00:00.000000000 Z
11
+ date: 2017-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -71,6 +71,7 @@ files:
71
71
  - ".rubocop.yml"
72
72
  - ".travis.yml"
73
73
  - Gemfile
74
+ - Gemfile.lock
74
75
  - LICENSE.txt
75
76
  - README.md
76
77
  - Rakefile