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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f36cebebe2ae2b9d27341552d5932b21d27b2a7
4
- data.tar.gz: d4b0f47a9a9f4e1706a677c26a40997161f5f07e
3
+ metadata.gz: 35d4ce6e64d68bef4eb2893fa6468d8b854b2c32
4
+ data.tar.gz: c2a4f131953a569b8a5fd4484ff069fefed37644
5
5
  SHA512:
6
- metadata.gz: ed2f064ca843bfa4455a5031ecfd31b6eaa2c3199af262c5723a21c76128ee3914d04016760076ed508b0eb82972848544cbb812d3e83e68a4ccb79bb38c756c
7
- data.tar.gz: 94d9dc59f8a31ffe9edcffc10a57d661dc03a40066be797aba097c91d15a531fd48822b405823b7ec44a65fdde9d123a66993e95f21c1b9e30451b11d06bc992
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
 
@@ -1,7 +1,7 @@
1
1
  module RareMap
2
2
  MAJOR = 2
3
3
  MINOR = 1
4
- PATCH = 0
4
+ PATCH = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].compact.join('.')
7
7
  end
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.0
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-21 00:00:00.000000000 Z
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.0
143
+ summary: rare_map-2.1.1
144
144
  test_files:
145
145
  - test/helper.rb
146
146
  - test/rare_map_test.rb