camaleon_user_tag 0.0.2.1 → 0.0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/plugins/camaleon_user_tag/user_tag.rb +10 -1
- data/lib/camaleon_user_tag/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f98e68a3b43e0e87e7156646b228c1b0deb0731b
|
4
|
+
data.tar.gz: c3ad77e1955a1a55df911c403c4a984a57af310f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07a7fcd7e1b9070bf3873a6403f898c4a8d151ada10978bce1d884315b26de948bffec97e303dfb9a8c2afa01e94aa73727117560b054758fe66855c35fd24c4
|
7
|
+
data.tar.gz: be8b0eac85bb5a2b22d9a84635395a8a4552e96e3885a3f66f5d8ac1b9b9c8a46b910b430b0005681bd4dda2a4740983ddf0ac03a5680fea5f68e196c4844b03
|
@@ -1,5 +1,14 @@
|
|
1
1
|
class Plugins::CamaleonUserTag::UserTag < ActiveRecord::Base
|
2
2
|
self.table_name = 'plugins_camaleon_user_tag_user_tags'
|
3
3
|
|
4
|
-
|
4
|
+
def create
|
5
|
+
@user = UserTag.new(user_params)
|
6
|
+
end
|
7
|
+
|
8
|
+
private
|
9
|
+
|
10
|
+
def user_params
|
11
|
+
params.require(:user).permit(:name, :counter)
|
12
|
+
end
|
13
|
+
|
5
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camaleon_user_tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- raulanatol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -128,6 +128,8 @@ specification_version: 4
|
|
128
128
|
summary: Plugin of CamaleonCMS to allow tag users
|
129
129
|
test_files:
|
130
130
|
- test/camaleon_user_tag_test.rb
|
131
|
+
- test/dummy/README.rdoc
|
132
|
+
- test/dummy/Rakefile
|
131
133
|
- test/dummy/app/assets/javascripts/application.js
|
132
134
|
- test/dummy/app/assets/stylesheets/application.css
|
133
135
|
- test/dummy/app/controllers/application_controller.rb
|
@@ -160,7 +162,5 @@ test_files:
|
|
160
162
|
- test/dummy/public/422.html
|
161
163
|
- test/dummy/public/500.html
|
162
164
|
- test/dummy/public/favicon.ico
|
163
|
-
- test/dummy/Rakefile
|
164
|
-
- test/dummy/README.rdoc
|
165
165
|
- test/integration/navigation_test.rb
|
166
166
|
- test/test_helper.rb
|