rails-api 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails-api/action_controller/api.rb +5 -1
- data/lib/rails-api/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: a4ea50fca1f486fc7d1d232b8295bb67c341a88c
|
4
|
+
data.tar.gz: d2c349cce24922db210c93ff6b3970e221ecf3b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eaab8457e8dce7dec7edf508e26f4f3bc87e17f8b0fc8183e05d96ffd9e597687e4a4d765e9ed215aea7570f6ee8e23190558e48fb05e578c536f6b891f96fbf
|
7
|
+
data.tar.gz: e80d72538c688ed519c5aa35d6deb713df62580ce1621f9071e50dc406758263954cc9f255b705c78899b7d54bf885a90d480899b000898d857ac9e0de6c086c
|
@@ -155,8 +155,12 @@ module ActionController
|
|
155
155
|
include mod
|
156
156
|
end
|
157
157
|
|
158
|
+
DEFAULT_PROTECTED_INSTANCE_VARIABLES = begin
|
159
|
+
(Rails::VERSION::MAJOR < 4 || Rails::VERSION::MINOR < 1) ? Array : Set
|
160
|
+
end.new
|
161
|
+
|
158
162
|
def self.protected_instance_variables
|
159
|
-
|
163
|
+
DEFAULT_PROTECTED_INSTANCE_VARIABLES
|
160
164
|
end
|
161
165
|
|
162
166
|
if Rails::VERSION::MAJOR >= 4
|
data/lib/rails-api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Santiago Pastorino and Carlos Antonio da Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|