schema_comments 0.4.2 → 0.4.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: ca15d11b57fc96c95101365e16bbef945db00262
4
- data.tar.gz: 6b98f0c7eacd1f892325f968ad3aefb53ace4074
3
+ metadata.gz: a1d1635ab2f5896095a1be697387e369586309f2
4
+ data.tar.gz: c8735f51f37748a54620b014c3b95e6dcf16ac5d
5
5
  SHA512:
6
- metadata.gz: d4794912020379a87d00c23ad61ef3036642021afa89ab429d979dad0152e07c4897430f44afb215b94a123bfa273ee3af5ae06623ebc68e7c32c4e0ed4802b4
7
- data.tar.gz: 974e5ccfc95fe35a62970698c7536ba693606b449cda74ceb0371d1f300f3b74ffd811e2e8d6383cf20963b124739e5cb1cee77632eda4f8ca1c8ed953d6aecc
6
+ metadata.gz: bfb57df30717ea9c95a48614d0f82123dcd54f9b27f4203fd8431ea86b86570b4907b99a60deb629fb732340abb382ce5c5328929774e4ec66cdefdde20167dd
7
+ data.tar.gz: 5f41213ba5f2755be515609a4f6132f8a2fc4bbe9a60b14b192dd79efeaf761d1a50df57a60684f7f01081cb80e5f1c662b9efad6ce6b2cb2d032fc1851f4d3c
@@ -46,7 +46,7 @@ module SchemaComments
46
46
  def destroy_of(table_name, column_name)
47
47
  yaml_access do |db|
48
48
  column_hash = db[COLUMN_KEY][table_name.to_s]
49
- column_hash.delete(column_name) if column_hash
49
+ column_hash.delete(column_name.to_s) if column_hash
50
50
  end
51
51
  @column_names = nil
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module SchemaComments
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - akm
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2016-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport