gollum_rails 1.4.11 → 1.4.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 710c3a8e31482f04dc1b2d12a616df383d419bb7
4
- data.tar.gz: c47cf491b09054a8645f252427d9c62cf4077280
3
+ metadata.gz: 90d9a58dfe931e3cbb2b06821bd1a4b312857de1
4
+ data.tar.gz: 05b23204c8f0a1ac417a803cdfc6797b9b0fbd90
5
5
  SHA512:
6
- metadata.gz: 5fd8a09f95f09ffb6d89aaf352b6a8808076b8a372a16266aef9cd21366f8beb1922b2002ac72618f1af1e9c8cbfd5958f7f177f1f1e3567b55c714f1b4b3d46
7
- data.tar.gz: ca88a10a1c438016a729b598f89878167aa61265f7cfaf8e90e20c84b50c50ea17714c91d625fa6bcf466a0ca39f0b3dda6c5602adf16f1d5e2ad80354792013
6
+ metadata.gz: 800fa34910d98ccf5379d2e370c3de82f5012e006abf6a84861a78ced1e687afc525930b095951821b9cb4e15af1550b663f94d4cd955a2352b7e9cec2966df8
7
+ data.tar.gz: 750ee370a98bd42a15a77fa5be3bba45d4a3fe43d9bf87ac3e4aea6fa3031bd04572a70c7606eebc1770f063fa6142df91c9f2191e43ff67874ba882fc459ed0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gollum_rails (1.4.11)
4
+ gollum_rails (1.4.12)
5
5
  activemodel (>= 3.2.11)
6
6
  activesupport (>= 3.2.11)
7
7
  gollum-lib (~> 1.0.9)
data/HISTORY.md CHANGED
@@ -1,13 +1,17 @@
1
- # 1.4.11 16th January 2013
1
+ # 1.4.12 16th January 2014
2
+ * Date fix in Readme
3
+ * `all` static method now initializes in a GollumRails::Page
4
+
5
+ # 1.4.11 16th January 2014
2
6
  * Bugfixes and finally a working project
3
7
 
4
- # 1.4.10 14th January 2013
8
+ # 1.4.10 14th January 2014
5
9
  * Bugfixes
6
10
 
7
- # 1.4.9 14th January 2013
11
+ # 1.4.9 14th January 2014
8
12
  * Bugfixes
9
13
 
10
- # 1.4.8 13th January 2013
14
+ # 1.4.8 13th January 2014
11
15
  * Updated initializer
12
16
  * Better errors
13
17
  * no nil exception
data/gollum_rails.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.name = 'gollum_rails'
5
5
  s.rubyforge_project = s.name
6
6
 
7
- s.version = '1.4.11'
7
+ s.version = '1.4.12'
8
8
 
9
9
  s.summary = 'Combines Gollum and Rails'
10
10
  s.description= 'include Gollum into Rails with ease'
data/lib/gollum_rails.rb CHANGED
@@ -44,7 +44,7 @@ module GollumRails
44
44
  autoload :Orm
45
45
 
46
46
  # GollumRails version string
47
- VERSION = '1.4.11'
47
+ VERSION = '1.4.12'
48
48
 
49
49
  end
50
50
 
@@ -42,7 +42,10 @@ module GollumRails
42
42
 
43
43
  # Gets all pages in the wiki
44
44
  def all
45
- wiki.pages
45
+ pages = wiki.pages
46
+ r = pages.map do |page|
47
+ self.new(gollum_page: page)
48
+ end
46
49
  end
47
50
 
48
51
  alias_method :find_all, :all
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.11
4
+ version: 1.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Kasper