epom_rails 1.3.5 → 1.3.6

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: 4308159e730d6ae58a3f618044c7a10753c1ef2c
4
- data.tar.gz: 27350447fbc8f632fd3c98aa5df0d23c104a93f1
3
+ metadata.gz: 26630917caa4309b84a7eb2378556652bcb88fc2
4
+ data.tar.gz: e8117d6c261729f0544ca95b104d33f2c35cd043
5
5
  SHA512:
6
- metadata.gz: 2534bf04d8756a7aea004916c841cfa051b282903510beb301eef246290b87f86c1e7d020d94b91151a6ea28e7249233a0b460fe9be4f1e0d8050b08e17adbcb
7
- data.tar.gz: 2bb8a6e3344ce600dce39bb6a6bf1e42b0a8e026cb8a37a2f4348b109e0aa761aa6f69b461b240079b8c449e4369a25758eb2cb1b76e7bcf09e0fac759013a8b
6
+ metadata.gz: 2b288b462350506d60183b1a0483b45dcaabb0119aa71f9333bf19520728197ca7d5d2eb442caed331fba8330293db70470ce6a712c5666d2bdd61566923d426
7
+ data.tar.gz: ba5e07b569509ed16496ef041a86843ba7aaa216a661452fd8311038a831a698d76a598745aeefe575c6fb3b922635382b733424672331d47e1020062e645b8d
@@ -60,7 +60,6 @@ class ActiveRecord::Base
60
60
  fields = get_config[:fields]
61
61
 
62
62
  before_save do
63
- puts "before_save for #{self.inspect}"
64
63
  unless EpomRails.config.offline
65
64
  method = if self.send fields.key('id') then "update_#{klass_name.downcase}" else "create_#{klass_name.downcase}" end
66
65
 
@@ -99,7 +98,6 @@ class ActiveRecord::Base
99
98
  klass_name = get_epom_class_name
100
99
  fields = get_config[:fields]
101
100
  before_destroy do
102
- puts "before_destroy for #{self.inspect}"
103
101
  unless EpomRails.config.offline
104
102
  if self.send fields.key('id')
105
103
  epom_response = klass.send "delete_#{klass_name.downcase}", {"#{klass_name.downcase}Id" => self.send(fields.key('id'))}, {}
@@ -1,3 +1,3 @@
1
1
  module EpomRails
2
- VERSION = "1.3.5"
2
+ VERSION = "1.3.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epom_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.5
4
+ version: 1.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Chang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-28 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -260,9 +260,6 @@ test_files:
260
260
  - test/epom_rails/acts_as_banner_test.rb
261
261
  - test/epom_rails/acts_as_analytic_test.rb
262
262
  - test/epom_rails/acts_as_advertiser_test.rb
263
- - test/dummy/config.ru
264
- - test/dummy/Rakefile
265
- - test/dummy/README.rdoc
266
263
  - test/dummy/test/models/zone_test.rb
267
264
  - test/dummy/test/models/user_test.rb
268
265
  - test/dummy/test/models/publisher_test.rb
@@ -303,10 +300,6 @@ test_files:
303
300
  - test/dummy/db/migrate/20150603151041_create_advertisers.rb
304
301
  - test/dummy/config/secrets.yml
305
302
  - test/dummy/config/routes.rb
306
- - test/dummy/config/environment.rb
307
- - test/dummy/config/database.yml
308
- - test/dummy/config/boot.rb
309
- - test/dummy/config/application.rb
310
303
  - test/dummy/config/locales/en.yml
311
304
  - test/dummy/config/initializers/wrap_parameters.rb
312
305
  - test/dummy/config/initializers/session_store.rb
@@ -319,6 +312,11 @@ test_files:
319
312
  - test/dummy/config/environments/test.rb
320
313
  - test/dummy/config/environments/production.rb
321
314
  - test/dummy/config/environments/development.rb
315
+ - test/dummy/config/environment.rb
316
+ - test/dummy/config/database.yml
317
+ - test/dummy/config/boot.rb
318
+ - test/dummy/config/application.rb
319
+ - test/dummy/config.ru
322
320
  - test/dummy/bin/setup
323
321
  - test/dummy/bin/rake
324
322
  - test/dummy/bin/rails
@@ -400,3 +398,5 @@ test_files:
400
398
  - test/dummy/app/assets/javascripts/application.js
401
399
  - test/dummy/app/assets/javascripts/analytics.js
402
400
  - test/dummy/app/assets/javascripts/advertisers.js
401
+ - test/dummy/Rakefile
402
+ - test/dummy/README.rdoc