remotty-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/lib/remotty/rails/engine.rb +4 -1
- data/lib/remotty/rails/version.rb +1 -1
- data/remotty-rails.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc4301b92aef99d64c32ca021fbf84f83f43931e
|
4
|
+
data.tar.gz: 5828b70eef0507dd0ffb7a78f513e14ea24365a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af2fdbeaa5b0795a40d21fb3d17d0b72942fcf8d65d3f441e17e1323c7dd872421d31cd6dea5c38c049891edf3665893896e950a71e814b84c2f755c66a4fe82
|
7
|
+
data.tar.gz: c213217609d3e7ae4c8dee24e8ecbed099d0bab304c29cb0da7ede032cc9a936f78f8ee54e10e4dc5c5f571682acd3abd4a237435b94800b3c47de307094a031
|
data/Gemfile
CHANGED
data/lib/remotty/rails/engine.rb
CHANGED
@@ -31,10 +31,13 @@ module Remotty::Rails
|
|
31
31
|
ActiveModel::Serializer.root = false
|
32
32
|
ActiveModel::ArraySerializer.root = false
|
33
33
|
|
34
|
-
# wrap parameters
|
35
34
|
ActiveSupport.on_load(:action_controller) do
|
35
|
+
# wrap parameters
|
36
36
|
include ActionController::ParamsWrapper
|
37
37
|
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
38
|
+
|
39
|
+
# cancan
|
40
|
+
include CanCan::ControllerAdditions
|
38
41
|
end
|
39
42
|
|
40
43
|
# paperclip
|
data/remotty-rails.gemspec
CHANGED
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_dependency 'devise', '>= 3.2.4'
|
25
25
|
spec.add_dependency 'omniauth-facebook', '>= 1.6.0'
|
26
26
|
spec.add_dependency 'omniauth-twitter', '>= 1.0.1'
|
27
|
+
spec.add_dependency 'cancan', '>= 1.6.10'
|
27
28
|
|
28
29
|
spec.add_dependency 'paperclip', '>= 4.1.1'
|
29
30
|
spec.add_dependency 'rmagick', '>= 2.13.2'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remotty-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chungsub Kim
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack-cors
|
@@ -81,6 +81,20 @@ dependencies:
|
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: 1.0.1
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: cancan
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 1.6.10
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 1.6.10
|
84
98
|
- !ruby/object:Gem::Dependency
|
85
99
|
name: paperclip
|
86
100
|
requirement: !ruby/object:Gem::Requirement
|