mo_record 0.1.3 → 0.1.4

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: f6affbe492316223cd0f1df88df2bfccd15a019f
4
- data.tar.gz: 28546848460dc36fda3d5c88c87469abd222cea6
3
+ metadata.gz: ee26a82859c70baa58dec0dd9847ff718432e6a4
4
+ data.tar.gz: 8fe637633b7a4fcce6aaaa8288dfb7addfb22142
5
5
  SHA512:
6
- metadata.gz: 6ad365f0abb426491e1b131eca042b83733f8d3218407430b39afb3357ded61da4e5b7ede92bcdf4260cebecd86cd2a777f16c32d2b3271094724bb870a8879b
7
- data.tar.gz: bbcab04cc3ad092fd1301f33faa13dac7580e75e497a446c1d7ad80f64ad7a740965789afe0029f7dbe96b95eda649159d8b179e6868554a4b903168e9ded50c
6
+ metadata.gz: 7e8aa3b20a5ac06143f4bb0ec3e98def18d981c93c441b1bd9d28d479f220f902d59336abea7398bb7ba416b1d19f0cd2cb71783364a87e8947f7760b1cfdbb9
7
+ data.tar.gz: 30144184337e34ec3784373a674a11d21510260572c5d019e5ab2261aa8b248ceccb0948b99ae84167cc315be273a67b4410345fd34372fa85ee10ca7e0be8b5
@@ -9,7 +9,7 @@ module MoRecord
9
9
  source_root File.expand_path("../templates", __FILE__)
10
10
 
11
11
  def copy_migration
12
- migration_template 'install.rb', 'db/migrate/install_logged_mo.rb'
12
+ migration_template 'install.rb', 'db/migrate/create_logged_mos.rb'
13
13
  end
14
14
 
15
15
  def self.next_migration_number(dir)
@@ -1,3 +1,6 @@
1
- class LoggedMo < ::ActiveRecord::Base
2
- belongs_to :target, polymorphic: true
3
- end
1
+ module MoRecord
2
+ class LoggedMo < ::ActiveRecord::Base
3
+ belongs_to :target, polymorphic: true
4
+ end
5
+ end
6
+
@@ -1,3 +1,3 @@
1
1
  module MoRecord
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mo_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhangmingju