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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 712b3dd722a10a6570444dd06c386706beb944a6
4
- data.tar.gz: dba39a6eedb14205afc1a4d950db5d78f0e7893b
3
+ metadata.gz: f98e68a3b43e0e87e7156646b228c1b0deb0731b
4
+ data.tar.gz: c3ad77e1955a1a55df911c403c4a984a57af310f
5
5
  SHA512:
6
- metadata.gz: 641f343e916ea97855f7e4cbccfda1a635bdec7ad5b061335c015450ae574a6b00e84f8563b61a3620d0aad3f9221ead5f95e7772730c954bab6471a5d7fdd29
7
- data.tar.gz: 48c540fcd2c25e80ea3c2d57ecde45adc043c493c0b184f02b83d6cfecf3bb0ab9f70f44d5c5afef6b81ab76b611cc46586fa043382b2359a14720a66a31c889
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
- attr_accessible :name, :counter
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
@@ -1,3 +1,3 @@
1
1
  module CamaleonUserTag
2
- VERSION = '0.0.2.1'
2
+ VERSION = '0.0.3.0'
3
3
  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.2.1
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: 2015-12-15 00:00:00.000000000 Z
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