gollum_rails 1.0.4 → 1.0.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.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/Gemfile.lock +118 -92
- data/Guardfile +7 -0
- data/HISTORY.md +32 -0
- data/README.md +7 -2
- data/Rakefile +5 -5
- data/gollum_rails.gemspec +9 -13
- data/lib/gollum_rails.rb +2 -9
- data/lib/gollum_rails/adapters/gollum.rb +12 -3
- data/lib/gollum_rails/adapters/gollum/page.rb +92 -45
- data/lib/gollum_rails/adapters/gollum/wiki.rb +12 -11
- data/lib/gollum_rails/page.rb +208 -65
- data/lib/gollum_rails/setup.rb +9 -2
- data/spec/gollum_rails/adapters/gollum/connector_spec.rb +8 -2
- data/spec/gollum_rails/adapters/gollum/page_spec.rb +18 -78
- data/spec/gollum_rails/adapters/gollum/{wiki_spec.rb → wiki_spec_off.rb} +0 -0
- data/spec/gollum_rails/page_spec.rb +310 -79
- data/spec/spec_helper.rb +0 -23
- metadata +17 -23
- data/lib/core_ext/string.rb +0 -3
- data/lib/gollum_rails/modulesDEPRECATED/hash.rb +0 -33
- data/lib/gollum_rails/modulesDEPRECATED/loader.rb +0 -5
- data/lib/grit/git-ruby/internal/pack.rb +0 -397
- data/spec/gollum_rails/modulesDEPRECATED/hash.rb +0 -31
- data/spec/gollum_rails_spec.rb +0 -9
- data/spec/spec.opts +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dd1e54d072e792db90321826d56dfb77a87888b
|
4
|
+
data.tar.gz: 4983659fb53d6af311077327c7ad9e4b26afc8a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bb47d054fc9c8d222afefdb420ce6e3ae68718bf87afb6a4abf53139f2b00f63ddd914a328d4b7dc25f40afd174a8b093cf2e3b53442202ead7ab85cc22d6e8
|
7
|
+
data.tar.gz: 81720d04bd848724fa69988392e60db8bf62bcd7b526508440a1bf150dea6607946558ce905d428137686ce86a14ec9599a1109dceb3ffd5b183b0da69ce51b2
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,111 +1,125 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gollum_rails (1.0.
|
5
|
-
activemodel (
|
6
|
-
gollum-lib (~> 1.0.
|
4
|
+
gollum_rails (1.0.5)
|
5
|
+
activemodel (>= 3.2.11)
|
6
|
+
gollum-lib (~> 1.0.9)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionmailer (
|
12
|
-
actionpack (=
|
13
|
-
mail (~> 2.5.
|
14
|
-
actionpack (
|
15
|
-
|
16
|
-
|
17
|
-
builder (~> 3.0.0)
|
11
|
+
actionmailer (4.0.1)
|
12
|
+
actionpack (= 4.0.1)
|
13
|
+
mail (~> 2.5.4)
|
14
|
+
actionpack (4.0.1)
|
15
|
+
activesupport (= 4.0.1)
|
16
|
+
builder (~> 3.1.0)
|
18
17
|
erubis (~> 2.7.0)
|
19
|
-
|
20
|
-
rack (~>
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
18
|
+
rack (~> 1.5.2)
|
19
|
+
rack-test (~> 0.6.2)
|
20
|
+
activemodel (4.0.1)
|
21
|
+
activesupport (= 4.0.1)
|
22
|
+
builder (~> 3.1.0)
|
23
|
+
activerecord (4.0.1)
|
24
|
+
activemodel (= 4.0.1)
|
25
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
26
|
+
activesupport (= 4.0.1)
|
27
|
+
arel (~> 4.0.0)
|
28
|
+
activerecord-deprecated_finders (1.0.3)
|
29
|
+
activesupport (4.0.1)
|
30
|
+
i18n (~> 0.6, >= 0.6.4)
|
31
|
+
minitest (~> 4.2)
|
32
|
+
multi_json (~> 1.3)
|
33
|
+
thread_safe (~> 0.1)
|
34
|
+
tzinfo (~> 0.3.37)
|
35
|
+
arel (4.0.1)
|
36
|
+
atomic (1.1.14)
|
37
|
+
builder (3.1.4)
|
38
|
+
celluloid (0.15.2)
|
39
|
+
timers (~> 1.1.0)
|
40
|
+
charlock_holmes (0.6.9.4)
|
41
|
+
coderay (1.0.9)
|
42
|
+
coveralls (0.7.0)
|
43
43
|
multi_json (~> 1.3)
|
44
44
|
rest-client
|
45
45
|
simplecov (>= 0.7)
|
46
|
+
term-ansicolor
|
46
47
|
thor
|
47
|
-
diff-lcs (1.2.
|
48
|
+
diff-lcs (1.2.4)
|
48
49
|
erubis (2.7.0)
|
49
|
-
|
50
|
+
ffi (1.9.3)
|
51
|
+
formatador (0.2.4)
|
50
52
|
github-markup (0.7.5)
|
51
|
-
|
52
|
-
|
53
|
-
github-markup (>= 0.7.5, < 1.0.0)
|
54
|
-
grit (~> 2.5.0)
|
55
|
-
nokogiri (~> 1.5.9)
|
56
|
-
pygments.rb (~> 0.4.2)
|
57
|
-
sanitize (~> 2.0.3)
|
58
|
-
stringex (~> 1.5.1)
|
59
|
-
grit (2.5.0)
|
53
|
+
gitlab-grit (2.6.0)
|
54
|
+
charlock_holmes (~> 0.6.9)
|
60
55
|
diff-lcs (~> 1.1)
|
61
56
|
mime-types (~> 1.15)
|
62
57
|
posix-spawn (~> 0.3.6)
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
58
|
+
gollum-lib (1.0.9)
|
59
|
+
github-markup (>= 0.7.5, < 1.0.0)
|
60
|
+
gitlab-grit (= 2.6.0)
|
61
|
+
nokogiri (~> 1.6.0)
|
62
|
+
pygments.rb (~> 0.5.2)
|
63
|
+
sanitize (~> 2.0.6)
|
64
|
+
stringex (~> 2.1.0)
|
65
|
+
guard (2.2.3)
|
66
|
+
formatador (>= 0.2.4)
|
67
|
+
listen (~> 2.1)
|
68
|
+
lumberjack (~> 1.0)
|
69
|
+
pry (>= 0.9.12)
|
70
|
+
thor (>= 0.18.1)
|
71
|
+
guard-rspec (3.1.0)
|
72
|
+
guard (>= 1.8)
|
73
|
+
rspec (~> 2.13)
|
74
|
+
hike (1.2.3)
|
75
|
+
i18n (0.6.5)
|
76
|
+
listen (2.2.0)
|
77
|
+
celluloid (>= 0.15.2)
|
78
|
+
rb-fsevent (>= 0.9.3)
|
79
|
+
rb-inotify (>= 0.9)
|
80
|
+
lumberjack (1.0.4)
|
81
|
+
mail (2.5.4)
|
70
82
|
mime-types (~> 1.16)
|
71
83
|
treetop (~> 1.4.8)
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
84
|
+
method_source (0.8.2)
|
85
|
+
mime-types (1.25)
|
86
|
+
mini_portile (0.5.2)
|
87
|
+
minitest (4.7.5)
|
88
|
+
multi_json (1.8.2)
|
89
|
+
nokogiri (1.6.0)
|
90
|
+
mini_portile (~> 0.5.0)
|
76
91
|
polyglot (0.3.3)
|
77
|
-
posix-spawn (0.3.
|
78
|
-
|
92
|
+
posix-spawn (0.3.8)
|
93
|
+
pry (0.9.12.2)
|
94
|
+
coderay (~> 1.0.5)
|
95
|
+
method_source (~> 0.8)
|
96
|
+
slop (~> 3.4)
|
97
|
+
pygments.rb (0.5.4)
|
79
98
|
posix-spawn (~> 0.3.6)
|
80
99
|
yajl-ruby (~> 1.1.0)
|
81
|
-
rack (1.
|
82
|
-
rack-cache (1.2)
|
83
|
-
rack (>= 0.4)
|
84
|
-
rack-ssl (1.3.3)
|
85
|
-
rack
|
100
|
+
rack (1.5.2)
|
86
101
|
rack-test (0.6.2)
|
87
102
|
rack (>= 1.0)
|
88
|
-
rails (
|
89
|
-
actionmailer (=
|
90
|
-
actionpack (=
|
91
|
-
activerecord (=
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
railties (
|
97
|
-
actionpack (=
|
98
|
-
activesupport (=
|
99
|
-
rack-ssl (~> 1.3.2)
|
103
|
+
rails (4.0.1)
|
104
|
+
actionmailer (= 4.0.1)
|
105
|
+
actionpack (= 4.0.1)
|
106
|
+
activerecord (= 4.0.1)
|
107
|
+
activesupport (= 4.0.1)
|
108
|
+
bundler (>= 1.3.0, < 2.0)
|
109
|
+
railties (= 4.0.1)
|
110
|
+
sprockets-rails (~> 2.0.0)
|
111
|
+
railties (4.0.1)
|
112
|
+
actionpack (= 4.0.1)
|
113
|
+
activesupport (= 4.0.1)
|
100
114
|
rake (>= 0.8.7)
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
115
|
+
thor (>= 0.18.1, < 2.0)
|
116
|
+
rake (10.1.0)
|
117
|
+
rb-fsevent (0.9.3)
|
118
|
+
rb-inotify (0.9.2)
|
119
|
+
ffi (>= 0.5.0)
|
106
120
|
rest-client (1.6.7)
|
107
121
|
mime-types (>= 1.16)
|
108
|
-
rr (1.
|
122
|
+
rr (1.1.2)
|
109
123
|
rspec (2.13.0)
|
110
124
|
rspec-core (~> 2.13.0)
|
111
125
|
rspec-expectations (~> 2.13.0)
|
@@ -113,34 +127,46 @@ GEM
|
|
113
127
|
rspec-core (2.13.1)
|
114
128
|
rspec-expectations (2.13.0)
|
115
129
|
diff-lcs (>= 1.1.3, < 2.0)
|
116
|
-
rspec-mocks (2.13.
|
117
|
-
sanitize (2.0.
|
118
|
-
nokogiri (>= 1.4.4
|
130
|
+
rspec-mocks (2.13.1)
|
131
|
+
sanitize (2.0.6)
|
132
|
+
nokogiri (>= 1.4.4)
|
119
133
|
simplecov (0.7.1)
|
120
134
|
multi_json (~> 1.0)
|
121
135
|
simplecov-html (~> 0.7.1)
|
122
136
|
simplecov-html (0.7.1)
|
123
|
-
|
137
|
+
slop (3.4.6)
|
138
|
+
sprockets (2.10.0)
|
124
139
|
hike (~> 1.2)
|
125
140
|
multi_json (~> 1.0)
|
126
141
|
rack (~> 1.0)
|
127
142
|
tilt (~> 1.1, != 1.3.0)
|
128
|
-
|
143
|
+
sprockets-rails (2.0.1)
|
144
|
+
actionpack (>= 3.0)
|
145
|
+
activesupport (>= 3.0)
|
146
|
+
sprockets (~> 2.8)
|
147
|
+
stringex (2.1.2)
|
148
|
+
term-ansicolor (1.2.2)
|
149
|
+
tins (~> 0.8)
|
129
150
|
thor (0.18.1)
|
130
|
-
|
131
|
-
|
151
|
+
thread_safe (0.1.3)
|
152
|
+
atomic
|
153
|
+
tilt (1.4.1)
|
154
|
+
timers (1.1.0)
|
155
|
+
tins (0.12.0)
|
156
|
+
treetop (1.4.15)
|
132
157
|
polyglot
|
133
158
|
polyglot (>= 0.3.1)
|
134
|
-
tzinfo (0.3.
|
159
|
+
tzinfo (0.3.38)
|
135
160
|
yajl-ruby (1.1.0)
|
136
161
|
|
137
162
|
PLATFORMS
|
138
|
-
java
|
139
163
|
ruby
|
140
164
|
|
141
165
|
DEPENDENCIES
|
142
166
|
coveralls
|
143
167
|
gollum_rails!
|
144
|
-
|
145
|
-
|
168
|
+
guard
|
169
|
+
guard-rspec
|
170
|
+
rails (>= 3.2.11)
|
171
|
+
rr (~> 1.1.1)
|
146
172
|
rspec (~> 2.13.0)
|
data/Guardfile
ADDED
data/HISTORY.md
CHANGED
@@ -1,3 +1,35 @@
|
|
1
|
+
# 1.4.5 6th November 2013
|
2
|
+
* Updated Gollum-Lib version to 1.0.9
|
3
|
+
* Updated Rails stuff to 4.0.1
|
4
|
+
|
5
|
+
|
6
|
+
# 1.4.4 31th October 2013
|
7
|
+
* Removed Monkey patch for Grit
|
8
|
+
* Upgraded Gollum lib version
|
9
|
+
* Fixed specs for new gollum behavior
|
10
|
+
* Removed String freedom patches
|
11
|
+
|
12
|
+
# 1.4.3 1th September 2013
|
13
|
+
* Display the current pages version (short OR long)
|
14
|
+
* Display if the page is a sub page
|
15
|
+
* Display the pages filename
|
16
|
+
* Improved specs
|
17
|
+
* Refactored find method to return nil if no page was found (BUG)
|
18
|
+
* Refactored find_or_initialize_by_name to be useable :)
|
19
|
+
* Returning nil on history if a page was not saved
|
20
|
+
* Added finding with version string
|
21
|
+
* Using activemodel convenient `destroy` and deprecated old `delete`
|
22
|
+
* Added callback for initializer
|
23
|
+
|
24
|
+
# 1.4.2 1th August 2013
|
25
|
+
* Found an issue that the Wiki was not updating from external pushes
|
26
|
+
* Some helper methods implemented
|
27
|
+
* Improved code quality
|
28
|
+
* Should be threadsaver now
|
29
|
+
* Updated documentation
|
30
|
+
|
31
|
+
# 1.4.1 26th June 2013
|
32
|
+
* Rails4
|
1
33
|
|
2
34
|
# 1.0.4 1th May 2013
|
3
35
|
* removed mutex again
|
data/README.md
CHANGED
@@ -4,9 +4,9 @@ Gollum for Rails
|
|
4
4
|
[](https://gemnasium.com/nirnanaaa/gollum_rails)
|
5
5
|
[](http://badge.fury.io/rb/gollum_rails)
|
6
6
|
[](https://coveralls.io/r/nirnanaaa/gollum_rails)
|
7
|
+
[](https://codeclimate.com/github/nirnanaaa/gollum_rails)
|
7
8
|
|
8
|
-
|
9
|
-
gollum_rails combines the git-powered wiki software gollum with the extremely popular webframework rails.
|
9
|
+
gollum_rails combines the git-powered wiki software gollum with the extreme popular webframework rails.
|
10
10
|
It improves the lightweight "gollum" experience which is quite awesome.
|
11
11
|
|
12
12
|
with gollum_rails you can:
|
@@ -17,6 +17,10 @@ with gollum_rails you can:
|
|
17
17
|
* Use own preprocession e.g. background workers for data procession
|
18
18
|
* Use user authentication e.g. Devise or Authlogic
|
19
19
|
|
20
|
+
For an Editor to use with gollum_rails I personally like the [gollum_editor](https://github.com/samknight/gollum_editor)
|
21
|
+
|
22
|
+
It provides nearly the same features as the official editor.
|
23
|
+
|
20
24
|
## SYSTEM REQUIREMENTS
|
21
25
|
- Python 2.5+ (2.7.3 recommended)
|
22
26
|
- Ruby 1.9.3+ (2.0.0 recommended)
|
@@ -28,6 +32,7 @@ with gollum_rails you can:
|
|
28
32
|
## [Usage](https://github.com/nirnanaaa/gollum_rails/wiki/Usage)
|
29
33
|
|
30
34
|
|
35
|
+
|
31
36
|
## DEVELOPER
|
32
37
|
|
33
38
|
Very cool. Just fork this repository and send me pull requests.
|
data/Rakefile
CHANGED
@@ -112,14 +112,14 @@ end
|
|
112
112
|
|
113
113
|
desc 'Create a release build'
|
114
114
|
task :release => :build do
|
115
|
-
unless `git branch` =~ /^\* master$/
|
116
|
-
|
117
|
-
|
118
|
-
end
|
115
|
+
# unless `git branch` =~ /^\* master$/
|
116
|
+
# puts "You must be on the master branch to release!"
|
117
|
+
# exit!
|
118
|
+
# end
|
119
119
|
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
120
120
|
sh "git pull"
|
121
121
|
sh "git tag v#{version}"
|
122
|
-
sh "git push
|
122
|
+
sh "git push"
|
123
123
|
sh "git push origin v#{version}"
|
124
124
|
sh "gem push pkg/#{name}-#{version}.gem"
|
125
125
|
end
|
data/gollum_rails.gemspec
CHANGED
@@ -4,17 +4,17 @@ Gem::Specification.new do |s|
|
|
4
4
|
s.name = 'gollum_rails'
|
5
5
|
s.rubyforge_project = s.name
|
6
6
|
|
7
|
-
s.version = '1.0.
|
7
|
+
s.version = '1.0.5'
|
8
8
|
|
9
9
|
s.summary = 'Combines Gollum and Rails'
|
10
10
|
s.description= 'include Gollum into Rails with ease'
|
11
11
|
|
12
|
-
s.add_dependency 'activemodel', '
|
13
|
-
s.add_dependency 'gollum-lib', '~> 1.0.
|
12
|
+
s.add_dependency 'activemodel', '>= 3.2.11'
|
13
|
+
s.add_dependency 'gollum-lib', '~> 1.0.9'
|
14
14
|
|
15
15
|
s.add_development_dependency 'rspec', '~> 2.13.0'
|
16
|
-
s.add_development_dependency 'rr', '~> 1.
|
17
|
-
s.add_development_dependency 'rails', '
|
16
|
+
s.add_development_dependency 'rr', '~> 1.1.1'
|
17
|
+
s.add_development_dependency 'rails', '>= 3.2.11'
|
18
18
|
|
19
19
|
s.author = 'Florian Kasper'
|
20
20
|
s.email = 'mosny@zyg.li'
|
@@ -28,12 +28,12 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.files = %w[
|
29
29
|
Gemfile
|
30
30
|
Gemfile.lock
|
31
|
+
Guardfile
|
31
32
|
HISTORY.md
|
32
33
|
LICENSE
|
33
34
|
README.md
|
34
35
|
Rakefile
|
35
36
|
gollum_rails.gemspec
|
36
|
-
lib/core_ext/string.rb
|
37
37
|
lib/generators/gollum_rails/install/install_generator.rb
|
38
38
|
lib/generators/gollum_rails/install/templates/gollum_initializer.rb
|
39
39
|
lib/generators/gollum_rails/language/language_generator.rb
|
@@ -49,11 +49,8 @@ Gem::Specification.new do |s|
|
|
49
49
|
lib/gollum_rails/adapters/gollum/error.rb
|
50
50
|
lib/gollum_rails/adapters/gollum/page.rb
|
51
51
|
lib/gollum_rails/adapters/gollum/wiki.rb
|
52
|
-
lib/gollum_rails/modulesDEPRECATED/hash.rb
|
53
|
-
lib/gollum_rails/modulesDEPRECATED/loader.rb
|
54
52
|
lib/gollum_rails/page.rb
|
55
53
|
lib/gollum_rails/setup.rb
|
56
|
-
lib/grit/git-ruby/internal/pack.rb
|
57
54
|
spec/gollum_rails/adapters/activemodel/error_spec.rb
|
58
55
|
spec/gollum_rails/adapters/activemodel/naming_spec.rb
|
59
56
|
spec/gollum_rails/adapters/activemodel/validation_unused.rb
|
@@ -61,15 +58,12 @@ Gem::Specification.new do |s|
|
|
61
58
|
spec/gollum_rails/adapters/gollum/connector_spec.rb
|
62
59
|
spec/gollum_rails/adapters/gollum/error_spec.rb
|
63
60
|
spec/gollum_rails/adapters/gollum/page_spec.rb
|
64
|
-
spec/gollum_rails/adapters/gollum/
|
61
|
+
spec/gollum_rails/adapters/gollum/wiki_spec_off.rb
|
65
62
|
spec/gollum_rails/error_spec.rb
|
66
|
-
spec/gollum_rails/modulesDEPRECATED/hash.rb
|
67
63
|
spec/gollum_rails/page_spec.rb
|
68
64
|
spec/gollum_rails/respository_spec.rb
|
69
65
|
spec/gollum_rails/setup_spec.rb
|
70
66
|
spec/gollum_rails/wiki_spec.rb
|
71
|
-
spec/gollum_rails_spec.rb
|
72
|
-
spec/spec.opts
|
73
67
|
spec/spec_helper.rb
|
74
68
|
]
|
75
69
|
# = MANIFEST =
|
@@ -86,3 +80,5 @@ Gem::Specification.new do |s|
|
|
86
80
|
\trails g gollum_rails:language LANGUAGE
|
87
81
|
END
|
88
82
|
end
|
83
|
+
|
84
|
+
|