rare_map 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rare_map/model_generator.rb +1 -1
- data/lib/rare_map/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35d4ce6e64d68bef4eb2893fa6468d8b854b2c32
|
4
|
+
data.tar.gz: c2a4f131953a569b8a5fd4484ff069fefed37644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c5132d0e2da33a6bb4048165baaf4e8974bc3488bf0915434ffbfe78570235d316634518af8a0c5037d3180ab0c9c01d0f674f70f30761f3d714af6205d5a1a
|
7
|
+
data.tar.gz: 78f48e16fdf5c9c7880cfc447d324d3bf1ef4dca2f217846e835cd1a31a07ccd327e685e9047c5c89cc94618fcb185968c9104e59ffba5e9d11d5dbacea69181
|
@@ -18,7 +18,7 @@ module RareMap
|
|
18
18
|
" self.table_name = '#{model.table.name}'\n" <<
|
19
19
|
" self.inheritance_column = 'ruby_type'\n" <<
|
20
20
|
" #{ "self.primary_key = '#{model.table.primary_key}'\n" if model.table.primary_key }\n" <<
|
21
|
-
" if ActiveRecord::VERSION::STRING < '4.0.0'\n" <<
|
21
|
+
" if ActiveRecord::VERSION::STRING < '4.0.0' || defined?(ProtectedAttributes)\n" <<
|
22
22
|
" attr_accessible #{model.table.columns.map { |col| ":#{col.name}" }.join(', ')}\n" <<
|
23
23
|
" end\n\n"
|
24
24
|
|
data/lib/rare_map/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rare_map
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wei-Ming Wu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -140,7 +140,7 @@ rubyforge_project:
|
|
140
140
|
rubygems_version: 2.0.6
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
|
-
summary: rare_map-2.1.
|
143
|
+
summary: rare_map-2.1.1
|
144
144
|
test_files:
|
145
145
|
- test/helper.rb
|
146
146
|
- test/rare_map_test.rb
|