jera_push 1.0.2 → 1.0.3

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: 3d970666a516621835155b8dc2a58c8f58716d8e
4
- data.tar.gz: 5cf112c60b8c3ae2d2c2442f6514af47c308cd3b
3
+ metadata.gz: b4406d35fa6b8e03006fc6d521651209d20b496b
4
+ data.tar.gz: 52e9518f0575b0542684ab82bb93e864b13fa924
5
5
  SHA512:
6
- metadata.gz: 02af103048a7b42698cc7709a46f7e54671d4d53686982b0030b575223cc963ca888682cbf11825d5d9fe813d84e7cb25b7ec4c41da65a8fb66495854b1f266f
7
- data.tar.gz: e1496dc6bebfd54a1be6adba77c47fcd23b3a8905a92b00a2a7a78003d68f0f4602a9bcb5a00b27ed8e1eb38120172bcc7da0c5091a79f8e762da87762623f69
6
+ metadata.gz: ddb61d07e1dead7c2823f763aad5dd31587214f575f21a8c38149c3b80bb7350b79f7090eb6644b944bc8c15add1ead4f291816d8d0c1ecfe40001d84401c36e
7
+ data.tar.gz: 1674744bb61e0ee0374afbc8c03b2206ee92b7df6a609ffcb2d8a8f4ab50f606ca2eeaecafe112d0e8db89c3fe877284554ffc0da1b7e039afc766b89230bafc
@@ -19,7 +19,9 @@ class JeraPushGenerator < Rails::Generators::NamedBase
19
19
  "\n\tModel \"#{file_name.titlecase}\" doesn't exists. Please, create your Model and try again."
20
20
  end
21
21
 
22
- inject_into_file model_path, "\n\thas_many :devices, foreign_key: :resource_id, class_name: 'JeraPush::Device'", after: ' < ActiveRecord::Base'
22
+ inject_into_file model_path, "\n\thas_many :devices, foreign_key: :resource_id, class_name: 'JeraPush::Device'", after: '< ActiveRecord::Base'
23
+
24
+ inject_into_file model_path, "\n\thas_many :devices, foreign_key: :resource_id, class_name: 'JeraPush::Device'", after: '< ApplicationRecord'
23
25
 
24
26
  case self.behavior
25
27
  when :invoke
@@ -1,3 +1,3 @@
1
1
  module JeraPush
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jera_push
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jera
@@ -1799,7 +1799,6 @@ files:
1799
1799
  - test/dummy/tmp/cache/assets/sprockets/v3.0/zp/zp804rWGh8iSIoV9JnuMfGeIpiHi1bQEiLmq7u1q0SQ.cache
1800
1800
  - test/dummy/tmp/cache/assets/sprockets/v3.0/zq/zqgPCtBe4q_ThA1ETwZDUdmIqARcrXy2EqIUkw4F4so.cache
1801
1801
  - test/dummy/tmp/cache/assets/sprockets/v3.0/zt/ztMuEXO-EKHPxoM6JSkOzDbzi7Onam45WvSFG65JhEQ.cache
1802
- - test/dummy/tmp/pids/server.pid
1803
1802
  - test/jera_push_test.rb
1804
1803
  - test/test_helper.rb
1805
1804
  homepage: https://github.com/jera/jera-push
@@ -1878,7 +1877,6 @@ test_files:
1878
1877
  - test/dummy/db/seeds.rb
1879
1878
  - test/dummy/log/development.log
1880
1879
  - test/dummy/README.rdoc
1881
- - test/dummy/tmp/pids/server.pid
1882
1880
  - test/dummy/tmp/cache/assets/sprockets/v3.0/bD/bDFEnh9CHVOgLyHtpoXZTYGCo9NgUYMvruwsmHbs98E.cache
1883
1881
  - test/dummy/tmp/cache/assets/sprockets/v3.0/hR/hRHtyoF5aiQbRpvDoMYfiwkVwaKCRFdi2vdkNdRI2t8.cache
1884
1882
  - test/dummy/tmp/cache/assets/sprockets/v3.0/89/89-zkW6WQL_ecjHMr0tI5hSpYGW27SF6IwKbnQAqPmI.cache
@@ -1 +0,0 @@
1
- 27405