megalopolis 1.1 → 1.1.1

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/CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
+ ## 1.1.1
2
+ * 1版のnextが最新版になる不具合を修正
3
+
1
4
  ## 1.1
2
- ・最新版のsubjectからnext出来ないバグを修正
3
- MHash構造体を採用
4
- keyをidに変更
5
+ * 最新版のsubjectからnext出来ないバグを修正
6
+ * MHash構造体を採用
7
+ * keyをidに変更
5
8
 
6
9
  ## 1.0
7
10
 
@@ -105,6 +105,7 @@ class Megalopolis
105
105
  end
106
106
 
107
107
  def next_page
108
+ return nil if @log-1 <= 0
108
109
  Subject.new(@base_url, @log-1)
109
110
  end
110
111
  alias_method :next, :next_page
@@ -1,3 +1,3 @@
1
1
  class Megalopolis
2
- VERSION = "1.1"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: megalopolis
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: 1.1.1
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: 2012-10-20 00:00:00.000000000 Z
12
+ date: 2012-10-29 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Megalopolis API wrapper for Ruby
15
15
  email:
@@ -47,7 +47,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  segments:
49
49
  - 0
50
- hash: -402405727754739227
50
+ hash: -2746195983515821564
51
51
  required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  segments:
58
58
  - 0
59
- hash: -402405727754739227
59
+ hash: -2746195983515821564
60
60
  requirements: []
61
61
  rubyforge_project:
62
62
  rubygems_version: 1.8.24