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 +4 -4
- data/lib/schema_comments/schema_comment.rb +1 -1
- data/lib/schema_comments/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1d1635ab2f5896095a1be697387e369586309f2
|
4
|
+
data.tar.gz: c8735f51f37748a54620b014c3b95e6dcf16ac5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
11
|
+
date: 2016-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|