jera_push 1.0.2 → 1.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4406d35fa6b8e03006fc6d521651209d20b496b
|
4
|
+
data.tar.gz: 52e9518f0575b0542684ab82bb93e864b13fa924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: '
|
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
|
data/lib/jera_push/version.rb
CHANGED
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.
|
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
|