sync_machine 0.3.0 → 0.4.0

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: f35d59824e204c4e091d4858780d22960bcf8b7b
4
- data.tar.gz: 0ef11300d2779f76e54e56e6bdf200177d30dca1
3
+ metadata.gz: b0bba81d453e92fd4832f134f5fd24ef4f60eb13
4
+ data.tar.gz: 538004835dbe737c7b50d92d2199fd1f34866092
5
5
  SHA512:
6
- metadata.gz: 2f7fd84260f12a9d3111a2b487353f6c7581d9cb110b381c944d195d35f9b10f94bfec4024d796fab67706a5ac8308a0e74a6d235841f15e2004526906cafec6
7
- data.tar.gz: 78ec45220800d4329659d67d13fa179362078af2e671018f962662872950ea07253d283f4ce58b6bfd87c6a976c46c3aacb414c77995835dde7e5ef9cadf1120
6
+ metadata.gz: 6449394a6e1baa9b6f0a8eedaf9b29e028fa6f52e8fb0fc8675871e29a69773789da34a5d627398357426ef63ef8b5d5bc954ca27f6a40186cff4b0c36019210
7
+ data.tar.gz: 7f1f4d31c93f85fa728402f873be52d8b7c6203fb7edffd019a223128eb395f3405dd3138b6a676b26be91507e12d362adc42795ad94eba871b2a2c2ca983da8
data/lib/sync_machine.rb CHANGED
@@ -28,7 +28,7 @@ module SyncMachine
28
28
  end
29
29
 
30
30
  def self.sync_module(child_const)
31
- child_const.name.split(/::/).first.constantize
31
+ child_const.name.split(/::/)[0..-2].join('::').constantize
32
32
  end
33
33
 
34
34
  def subject(subject_sym)
@@ -1,3 +1,3 @@
1
1
  module SyncMachine
2
- VERSION = "0.3.0".freeze
2
+ VERSION = "0.4.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sync_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Hwang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-20 00:00:00.000000000 Z
11
+ date: 2019-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport