epom 0.10.10 → 0.10.11

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: 4f23ff9405aa4f4bcf13b1b85e7cf162e085cd88
4
- data.tar.gz: a43f26a3e0b74745f1cbbb5afdd7fe0be456b338
3
+ metadata.gz: e6f145e58169906ab1e3deb3dded6b1291d5b2ea
4
+ data.tar.gz: 1b2f204adc81c1fa41d72121864bd6061d0eb07e
5
5
  SHA512:
6
- metadata.gz: bb7311f16615cc88c4914def1e15c5c797e6f8838972d0d15ebd92678d83ceba7a56db650c8992b6a08173e2ab78893a37f482f341b095b26106e1ff06378be4
7
- data.tar.gz: 5d327b300c3b6bbfbc362f5775b39c8e398ffaf69513ac278619578987a26eb2935770336191600ab986c261be35575e459cfd1ab8ac2cc0a9d4cdf19c86395b
6
+ metadata.gz: 0610a32ed29c862478e9e3392f67825529d52bfc1c3375e225deeb66a99a536c48e9174bbf74d4d8dcc48066dd294af6df395edc68ef93a3cf047fa0b4971733
7
+ data.tar.gz: 2be03b1c7ae927a6d8a3b11aa50904e90d0c001589b0b130bb5b2d672975f00aaabdac7314899e136ffb43e1983accd8ee3341c058972334be174c3dab03b064
@@ -90,8 +90,8 @@ module Epom
90
90
  if self.extended_methods.keys.include?(name.to_sym)
91
91
  if args.count == 1 and args[0].is_a?(Hash)
92
92
  signature = extended_methods[name]
93
- url_params_signature = signature[:url_parameters]
94
- body_params_signature = signature[:body_parameters]
93
+ url_params_signature = signature[:url_parameters] || []
94
+ body_params_signature = signature[:body_parameters] || []
95
95
 
96
96
  args[0].symbolize_keys!
97
97
  url_params = args[0].select{|key, value| url_params_signature.include? key}
@@ -1,3 +1,3 @@
1
1
  module Epom
2
- VERSION = '0.10.10'
2
+ VERSION = '0.10.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.10
4
+ version: 0.10.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Quintero
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-11-02 00:00:00.000000000 Z
13
+ date: 2015-11-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -217,12 +217,19 @@ test_files:
217
217
  - test/epom/analytic_test.rb
218
218
  - test/epom/advertiser_test.rb
219
219
  - test/epom/ad_unit_test.rb
220
+ - test/dummy/config.ru
221
+ - test/dummy/Rakefile
222
+ - test/dummy/README.rdoc
220
223
  - test/dummy/public/favicon.ico
221
224
  - test/dummy/public/500.html
222
225
  - test/dummy/public/422.html
223
226
  - test/dummy/public/404.html
224
227
  - test/dummy/config/secrets.yml
225
228
  - test/dummy/config/routes.rb
229
+ - test/dummy/config/environment.rb
230
+ - test/dummy/config/database.yml
231
+ - test/dummy/config/boot.rb
232
+ - test/dummy/config/application.rb
226
233
  - test/dummy/config/locales/en.yml
227
234
  - test/dummy/config/initializers/wrap_parameters.rb
228
235
  - test/dummy/config/initializers/session_store.rb
@@ -235,11 +242,6 @@ test_files:
235
242
  - test/dummy/config/environments/test.rb
236
243
  - test/dummy/config/environments/production.rb
237
244
  - test/dummy/config/environments/development.rb
238
- - test/dummy/config/environment.rb
239
- - test/dummy/config/database.yml
240
- - test/dummy/config/boot.rb
241
- - test/dummy/config/application.rb
242
- - test/dummy/config.ru
243
245
  - test/dummy/bin/setup
244
246
  - test/dummy/bin/rake
245
247
  - test/dummy/bin/rails
@@ -249,5 +251,3 @@ test_files:
249
251
  - test/dummy/app/controllers/application_controller.rb
250
252
  - test/dummy/app/assets/stylesheets/application.css
251
253
  - test/dummy/app/assets/javascripts/application.js
252
- - test/dummy/Rakefile
253
- - test/dummy/README.rdoc