go_gamification 0.0.18 → 0.0.19

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: c06f74bd183f59f37f66f0db1a1aa0df7580decc
4
- data.tar.gz: b08c33ce22d0663f633d1b4cb5f064623237c1ea
3
+ metadata.gz: b8c337194383dccdc9940c90db49b70fccc06447
4
+ data.tar.gz: b8177d8b8fae56b8ad292f00eb2ae3cd662e54f2
5
5
  SHA512:
6
- metadata.gz: f61b58088473e21be41c844c70931ed9c710a11cea7ce168ee78d401f22a4252a983a9c7dc3f7429fdedefda252840649b843a6ad09ce42d1184e79e8b5ee915
7
- data.tar.gz: 6d3acf5bd7f98bc78176eb02f9c99401167239796e4f03c81e3db8cb50aef8acca78bca3b9d3f50c422b17ea5d99031d2ebc80e6f321ac6c689a0965df474c03
6
+ metadata.gz: 46af790ef3b6329ba0bfdaa6701145ded19d36185179a7973c16f82fa3c43bf97203e09dd18fb9d555aa3700a0046f5e4721d30205967fc7d17275a385339294
7
+ data.tar.gz: 4e1b1b3088ec467babd8980062e79b08a22ea38cd58a45ba8c17d2ab9cb21bd680015da348659b6e61545855ead685cb1c9257a85dfac6855f564562a1c56e10
@@ -1,5 +1,5 @@
1
1
  module Gamification
2
2
  class ItemGroup < ApplicationRecord
3
- has_many :items,class_name: 'Gamification::Item',foreign_key: :gamification_item_type_id
3
+ has_many :items,class_name: 'Gamification::Item',foreign_key: :gamification_item_group_id
4
4
  end
5
5
  end
@@ -0,0 +1,5 @@
1
+ class AlterTableGamificationitemGroupAddkey < ActiveRecord::Migration[5.1]
2
+ def change
3
+ add_column :gamification_item_groups, :key, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AlterTableGamificationGoalAddRubys < ActiveRecord::Migration[5.1]
2
+ def change
3
+ add_column :gamification_goals, :rubys, :integer
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module GoGamification
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_gamification
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - João Carlos Ottobboni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-28 00:00:00.000000000 Z
11
+ date: 2017-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: draper
@@ -204,6 +204,8 @@ files:
204
204
  - db/migrate/20171027010758_alter_table_go_gamification_item_type_add_key.rb
205
205
  - db/migrate/20171028203227_create_gamification_item_groups.rb
206
206
  - db/migrate/20171028203324_alter_table_gamificationitem_add_group.rb
207
+ - db/migrate/20171030000412_alter_table_gamificationitem_group_addkey.rb
208
+ - db/migrate/20171030005158_alter_table_gamification_goal_add_rubys.rb
207
209
  - lib/go_gamification.rb
208
210
  - lib/go_gamification/engine.rb
209
211
  - lib/go_gamification/version.rb