activerecord-reputation-system 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,6 @@ class AddEvaluationsIndex < ActiveRecord::Migration
20
20
  end
21
21
 
22
22
  def self.down
23
- remove_index :rs_evaluations, :column => [:reputation_name, :source_id, :source_type, :target_id, :target_type]
23
+ remove_index :rs_evaluations, :name => "index_rs_evaluations_on_reputation_name_and_source_and_target"
24
24
  end
25
25
  end
@@ -20,6 +20,6 @@ class AddReputationMessagesIndex < ActiveRecord::Migration
20
20
  end
21
21
 
22
22
  def self.down
23
- remove_index :rs_reputation_messages, :column => [:receiver_id, :sender_id, :sender_type]
23
+ remove_index :rs_reputation_messages, :name => "index_rs_reputation_messages_on_receiver_id_and_sender"
24
24
  end
25
25
  end
@@ -20,6 +20,6 @@ class AddReputationsIndex < ActiveRecord::Migration
20
20
  end
21
21
 
22
22
  def self.down
23
- remove_index :rs_reputations, :column => [:reputation_name, :target_id, :target_type]
23
+ remove_index :rs_reputations, :name => "index_rs_reputations_on_reputation_name_and_target"
24
24
  end
25
25
  end
@@ -15,5 +15,5 @@
15
15
  ##
16
16
 
17
17
  module ReputationSystem
18
- VERSION = "1.2.0"
18
+ VERSION = "1.2.1"
19
19
  end
metadata CHANGED
@@ -1,111 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activerecord-reputation-system
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 2
8
- - 0
9
- version: 1.2.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.1
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Katsuya Noguchi
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2012-06-12 00:00:00 -07:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-07-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: activerecord
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
- version: "0"
16
+ requirement: &70099784737000 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
30
22
  type: :development
31
- version_requirements: *id001
32
- - !ruby/object:Gem::Dependency
33
- name: rake
34
23
  prerelease: false
35
- requirement: &id002 !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- segments:
40
- - 0
41
- - 8
42
- - 7
24
+ version_requirements: *70099784737000
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ requirement: &70099784736120 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
43
32
  version: 0.8.7
44
33
  type: :development
45
- version_requirements: *id002
46
- - !ruby/object:Gem::Dependency
47
- name: rspec
48
34
  prerelease: false
49
- requirement: &id003 !ruby/object:Gem::Requirement
50
- requirements:
35
+ version_requirements: *70099784736120
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &70099784735280 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
51
41
  - - ~>
52
- - !ruby/object:Gem::Version
53
- segments:
54
- - 2
55
- - 8
56
- version: "2.8"
42
+ - !ruby/object:Gem::Version
43
+ version: '2.8'
57
44
  type: :development
58
- version_requirements: *id003
59
- - !ruby/object:Gem::Dependency
60
- name: rdoc
61
45
  prerelease: false
62
- requirement: &id004 !ruby/object:Gem::Requirement
63
- requirements:
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- segments:
67
- - 0
68
- version: "0"
46
+ version_requirements: *70099784735280
47
+ - !ruby/object:Gem::Dependency
48
+ name: rdoc
49
+ requirement: &70099784734240 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
69
55
  type: :development
70
- version_requirements: *id004
71
- - !ruby/object:Gem::Dependency
72
- name: database_cleaner
73
56
  prerelease: false
74
- requirement: &id005 !ruby/object:Gem::Requirement
75
- requirements:
57
+ version_requirements: *70099784734240
58
+ - !ruby/object:Gem::Dependency
59
+ name: database_cleaner
60
+ requirement: &70099790085800 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
76
63
  - - ~>
77
- - !ruby/object:Gem::Version
78
- segments:
79
- - 0
80
- - 7
81
- - 1
64
+ - !ruby/object:Gem::Version
82
65
  version: 0.7.1
83
66
  type: :development
84
- version_requirements: *id005
85
- - !ruby/object:Gem::Dependency
86
- name: sqlite3
87
67
  prerelease: false
88
- requirement: &id006 !ruby/object:Gem::Requirement
89
- requirements:
68
+ version_requirements: *70099790085800
69
+ - !ruby/object:Gem::Dependency
70
+ name: sqlite3
71
+ requirement: &70099790085300 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
90
74
  - - ~>
91
- - !ruby/object:Gem::Version
92
- segments:
93
- - 1
94
- - 3
95
- - 5
75
+ - !ruby/object:Gem::Version
96
76
  version: 1.3.5
97
77
  type: :development
98
- version_requirements: *id006
99
- description: ActiveRecord Reputation System gem allows rails apps to compute and publish reputation scores for active record models.
100
- email:
78
+ prerelease: false
79
+ version_requirements: *70099790085300
80
+ description: ActiveRecord Reputation System gem allows rails apps to compute and publish
81
+ reputation scores for active record models.
82
+ email:
101
83
  - katsuya@twitter.com
102
84
  executables: []
103
-
104
85
  extensions: []
105
-
106
86
  extra_rdoc_files: []
107
-
108
- files:
87
+ files:
109
88
  - LICENSE
110
89
  - README.md
111
90
  - Rakefile
@@ -137,35 +116,29 @@ files:
137
116
  - spec/reputation_system/reputation_spec.rb
138
117
  - spec/reputation_system/scope_spec.rb
139
118
  - spec/spec_helper.rb
140
- has_rdoc: true
141
119
  homepage: https://github.com/twitter/activerecord-reputation-system
142
120
  licenses: []
143
-
144
121
  post_install_message:
145
122
  rdoc_options: []
146
-
147
- require_paths:
123
+ require_paths:
148
124
  - lib
149
- required_ruby_version: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- segments:
154
- - 0
155
- version: "0"
156
- required_rubygems_version: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- segments:
161
- - 0
162
- version: "0"
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ none: false
127
+ requirements:
128
+ - - ! '>='
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ none: false
133
+ requirements:
134
+ - - ! '>='
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
163
137
  requirements: []
164
-
165
138
  rubyforge_project:
166
- rubygems_version: 1.3.6
139
+ rubygems_version: 1.8.17
167
140
  signing_key:
168
141
  specification_version: 3
169
- summary: ActiveRecord Reputation System gem allows rails apps to compute and publish reputation scores for active record models
142
+ summary: ActiveRecord Reputation System gem allows rails apps to compute and publish
143
+ reputation scores for active record models
170
144
  test_files: []
171
-