due_credit 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/due_credit/credit_controller.rb +1 -0
- data/app/models/due_credit/referral.rb +2 -2
- data/app/models/due_credit/referrer.rb +1 -1
- data/lib/due_credit/version.rb +1 -1
- data/lib/generators/due_credit/due_credit_generator.rb +1 -1
- data/lib/generators/due_credit/templates/add_counter_cache.rb +0 -0
- data/lib/generators/due_credit/templates/migration.rb +2 -1
- metadata +4 -3
data/lib/due_credit/version.rb
CHANGED
File without changes
|
@@ -12,6 +12,7 @@ class CreateDueCreditTables < ActiveRecord::Migration
|
|
12
12
|
t.string :token
|
13
13
|
t.string :model
|
14
14
|
t.integer :model_id
|
15
|
+
t.integer :referrals_count
|
15
16
|
t.references :campaign
|
16
17
|
t.timestamps
|
17
18
|
end
|
@@ -37,4 +38,4 @@ class CreateDueCreditTables < ActiveRecord::Migration
|
|
37
38
|
drop_table :referrals
|
38
39
|
|
39
40
|
end
|
40
|
-
end
|
41
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: due_credit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- lib/due_credit/engine.rb
|
69
69
|
- lib/due_credit/version.rb
|
70
70
|
- lib/generators/due_credit/due_credit_generator.rb
|
71
|
+
- lib/generators/due_credit/templates/add_counter_cache.rb
|
71
72
|
- lib/generators/due_credit/templates/migration.rb
|
72
73
|
- test/due_credit_test.rb
|
73
74
|
- test/dummy/Rakefile
|
@@ -127,5 +128,5 @@ rubyforge_project:
|
|
127
128
|
rubygems_version: 1.8.23
|
128
129
|
signing_key:
|
129
130
|
specification_version: 3
|
130
|
-
summary: due_credit-0.1.
|
131
|
+
summary: due_credit-0.1.2
|
131
132
|
test_files: []
|