mappd 0.0.2 → 0.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
  SHA256:
3
- metadata.gz: 311e0d6f33577daccff7700c6dfe76d5916d4e097a5ec75a96702470a9343796
4
- data.tar.gz: 7be0bacb4267d823ae1a8849459ac549f1fc5e7ccf2cfc564663af53fb31f4bd
3
+ metadata.gz: fc337a411672ab3426ea52e47a29e0ff26b584ca6d208d575de6d520c3e29527
4
+ data.tar.gz: d0afa522e277f482ea096303adcccffd08fffa30031c9c545beb26e83b38492e
5
5
  SHA512:
6
- metadata.gz: 0be5ee80c7200f3f30547dd1da1bcca24a801f6f720788be476ace98224c68fea00b40edf7a02b4b63fe252b076b3f264d03b9a60d31b2f8b7d1fad25e96b703
7
- data.tar.gz: 94b10fcd3e7c8a059d756372179c9350bb0f14e4d0c16f19395f9e5807424c6e2902e465e809a92b89e8f908d558762f4742ffddc7ef4fb2e0285016ab2ed7a8
6
+ metadata.gz: 0b71039911641f03c1d4d3a70637e802fe2806c9eb1816a60907419bd387ba5aefef87da63438e14bb9caeaaf38d31e68194519ca32b5d33adabfc03383d29ca
7
+ data.tar.gz: fe8a0e6430f2642ef22fb0909c9e2c215fd557b83612a16de5c35a258797183dce12e997665f458683d580ce4298627f4aa7569dbb17e7f7cbd5b40ef2fee738
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mappd (0.0.1)
4
+ mappd (0.0.3)
5
5
  activerecord (>= 5.2.0)
6
6
 
7
7
  GEM
@@ -24,7 +24,8 @@ module Mappd
24
24
  reflect_on_all_associations.each do |association|
25
25
  case association.macro
26
26
  when :belongs_to
27
- commands << [:add_reference, [table_name, association.name, association.options]]
27
+ commands << [:add_reference,
28
+ [table_name, association.name, association.options]]
28
29
  when :has_and_belongs_to_many
29
30
  commands << [:create_join_table,
30
31
  [table_name.to_sym, association.name]]
@@ -1,3 +1,3 @@
1
1
  module Mappd
2
- VERSION = '0.0.2'.freeze
2
+ VERSION = '0.0.3'.freeze
3
3
  end
@@ -1,4 +1,3 @@
1
- require 'byebug'
2
1
  require File.expand_path('boot.rb', __dir__)
3
2
  require File.expand_path('spec_helper.rb', __dir__)
4
3
  require File.expand_path('models.rb', __dir__)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mappd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Watson