acts_as_votable 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ActsAsVotable
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -144,7 +144,7 @@ module ActsAsVotable
144
144
  updates[:cached_votes_down] = count_votes_down(true)
145
145
  end
146
146
 
147
- self.update_attributes(updates) if updates.size > 0
147
+ self.update_attributes(updates, :without_protection => true) if updates.size > 0
148
148
 
149
149
  end
150
150
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_votable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-27 00:00:00.000000000 Z
12
+ date: 2012-05-28 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &915760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *915760
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: sqlite3
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &915380 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '0'
38
33
  type: :development
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *915380
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: rails
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &914860 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>='
@@ -53,12 +43,7 @@ dependencies:
53
43
  version: 3.0.0
54
44
  type: :runtime
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: 3.0.0
46
+ version_requirements: *914860
62
47
  description: Rails gem to allowing records to be votable
63
48
  email:
64
49
  - ryanto
@@ -98,22 +83,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
83
  - - ! '>='
99
84
  - !ruby/object:Gem::Version
100
85
  version: '0'
101
- segments:
102
- - 0
103
- hash: 4111085336176516167
104
86
  required_rubygems_version: !ruby/object:Gem::Requirement
105
87
  none: false
106
88
  requirements:
107
89
  - - ! '>='
108
90
  - !ruby/object:Gem::Version
109
91
  version: '0'
110
- segments:
111
- - 0
112
- hash: 4111085336176516167
113
92
  requirements: []
114
93
  rubyforge_project: acts_as_votable
115
- rubygems_version: 1.8.21
94
+ rubygems_version: 1.8.11
116
95
  signing_key:
117
96
  specification_version: 3
118
97
  summary: Rails gem to allowing records to be votable
119
- test_files: []
98
+ test_files:
99
+ - spec/spec_helper.rb
100
+ - spec/votable_spec.rb
101
+ - spec/voter_spec.rb
102
+ - spec/words_spec.rb