synchronized_models 1.0.0alpha → 1.0.1alpha

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
  SHA256:
3
- metadata.gz: '06807cd51b2bde960cc3509e04cb60bd60ef30b1befcb2a64d4a876822e91f9c'
4
- data.tar.gz: ba4fd66b6ccb81e868d124ccd87600af1f69144097106be68fdab23b9accc523
3
+ metadata.gz: 97b86bc4d6a7eacd3e1c771c71d5042f4b887d112a09f88b6374bbacaae0273c
4
+ data.tar.gz: bcf2eab8a352e02c939957646ec990f4a75d35224aaaea9effa5b127938d6d35
5
5
  SHA512:
6
- metadata.gz: 072032b19d695ed7fb95506ea8f48be0cab4e5d320672a35f047fcfe3876d28f913ad0de1ecec22667b14c5d046d1266ac6c0b50650fe5edc43afc4f368106da
7
- data.tar.gz: 19500b7a4ba1d2ea44bb260896476dfa142a23925910096b745d30bcc4bb053219be37218854c32c008cf736340badd620d4b4692893e3f23aca64c413e53a36
6
+ metadata.gz: 528b3348055586a4a74c50cb2d7cb21c4ad47be9c02c5b906682428e022c19794253c88aa597615e6a1a420d408bc521caaec0df0b33fdaa7d5792861e238e19
7
+ data.tar.gz: c16685c9c9676ee883e6604bedaf96597ae487c052346c1c66d61a4182e2567a0cf44df9bab0a3998c5d6e480b57cfd34b8f5656f16743b83b00379064cd465b
@@ -60,7 +60,7 @@ module Kernel
60
60
  # => *
61
61
  def initialize_sync_constant(model_name)
62
62
  const_set(
63
- "Remote#{model_name.to_s.capitalize}",
63
+ "Remote#{model_name.to_s.camelcase}",
64
64
  Class.new(ActiveRecord::Base)
65
65
  )
66
66
 
@@ -69,7 +69,7 @@ module Kernel
69
69
 
70
70
  # => *
71
71
  def synchronized_constant(model_name)
72
- "#{name}::Remote#{model_name.to_s.capitalize}".constantize
72
+ "#{name}::Remote#{model_name.to_s.camelcase}".constantize
73
73
  end
74
74
 
75
75
  # => *
@@ -1,3 +1,3 @@
1
1
  module SynchronizedModels
2
- VERSION = '1.0.0alpha'
2
+ VERSION = '1.0.1alpha'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synchronized_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0alpha
4
+ version: 1.0.1alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Armando Alejandre