ruby-satisfaction 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-satisfaction (0.6.3)
4
+ ruby-satisfaction (0.6.5)
5
5
  activesupport (~> 2.3)
6
6
  json (>= 1.4.6)
7
7
  memcache-client (>= 1.5.0)
@@ -11,13 +11,13 @@ PATH
11
11
  GEM
12
12
  remote: http://rubygems.org/
13
13
  specs:
14
- activesupport (2.3.10)
14
+ activesupport (2.3.11)
15
15
  columnize (0.3.2)
16
16
  configuration (1.2.0)
17
17
  diff-lcs (1.1.2)
18
18
  fakeweb (1.3.0)
19
19
  gemcutter (0.6.1)
20
- json (1.4.6)
20
+ json (1.5.1)
21
21
  launchy (0.3.7)
22
22
  configuration (>= 0.0.5)
23
23
  rake (>= 0.8.1)
@@ -47,14 +47,9 @@ PLATFORMS
47
47
  ruby
48
48
 
49
49
  DEPENDENCIES
50
- activesupport (~> 2.3)
51
50
  bundler (>= 1.0.0)
52
51
  fakeweb (~> 1.3)
53
52
  gemcutter (>= 0.6.1)
54
- json (>= 1.4.6)
55
- memcache-client (>= 1.5.0)
56
- nokogiri (>= 1.4.2)
57
- oauth (>= 0.3.5)
58
53
  open_gem (>= 1.4)
59
54
  rr (= 1.0.2)
60
55
  rspec (~> 2.2)
data/README.markdown CHANGED
@@ -11,6 +11,10 @@ For questions, please visit the [Get Satisfaction API community][3]
11
11
 
12
12
  Changelog
13
13
  =========
14
+ 0.6.5
15
+
16
+ * Fixed a divide-by-zero bug.
17
+
14
18
  0.6.4
15
19
 
16
20
  * Fixed a security issue with the resource associations and attributes.
@@ -181,6 +181,7 @@ class Sfn::Page < Sfn::HasSatisfaction
181
181
  end
182
182
 
183
183
  def page_count
184
+ return 1 if length == 0
184
185
  result = @total / length
185
186
  result += 1 if @total % length != 0
186
187
  result
@@ -2,7 +2,7 @@ module Satisfaction
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 6
5
- PATCH = 4
5
+ PATCH = 5
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-satisfaction
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease: false
4
+ hash: 13
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 4
10
- version: 0.6.4
9
+ - 5
10
+ version: 0.6.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Get Satisfaction
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-08 00:00:00 -07:00
18
+ date: 2011-05-09 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -280,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  requirements: []
281
281
 
282
282
  rubyforge_project: ruby-satisfaction
283
- rubygems_version: 1.3.7
283
+ rubygems_version: 1.4.2
284
284
  signing_key:
285
285
  specification_version: 3
286
286
  summary: Get Satisfaction ruby client