gollum_rails 1.5.10 → 1.5.12

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -5,14 +5,18 @@ require 'coveralls'
5
5
  Coveralls.wear!
6
6
 
7
7
  require 'gollum_rails'
8
+ require 'factory_girl'
8
9
 
9
10
 
10
11
 
11
12
  I18n.enforce_available_locales = false
12
- RSpec.configure do |config|
13
- config.treat_symbols_as_metadata_keys_with_true_values = true
14
13
 
14
+ Dir[File.expand_path('../support/**/*.rb',__FILE__)].each { |f| require f }
15
+ require File.expand_path('../factories.rb', __FILE__)
15
16
 
16
- config.mock_with :rr
17
-
17
+ RSpec.configure do |config|
18
+ config.include FactoryGirl::Syntax::Methods
19
+ config.before(:suite) do
20
+ FactoryGirl.lint
21
+ end
18
22
  end
@@ -0,0 +1,3 @@
1
+ require 'hashr'
2
+ class DefaultCommit < Hashr
3
+ end
@@ -0,0 +1,3 @@
1
+ class GollumPageSpec < GollumRails::Page
2
+
3
+ end
@@ -0,0 +1,2 @@
1
+ require 'hashr'
2
+ class SpecialCommit < Hashr; end
metadata CHANGED
@@ -1,141 +1,169 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.10
4
+ version: 1.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Kasper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-03 00:00:00.000000000 Z
11
+ date: 2014-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 3.2.11
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.2.11
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 3.2.11
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gollum-lib
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.0
47
+ version: 3.0.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 2.0.0
54
+ version: 3.0.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 2.13.0
61
+ version: '3.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 2.13.0
68
+ version: '3.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rr
70
+ name: rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.1.1
75
+ version: 3.2.11
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.1.1
82
+ version: 3.2.11
83
83
  - !ruby/object:Gem::Dependency
84
- name: rails
84
+ name: guard
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: 3.2.11
89
+ version: 2.6.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: 3.2.11
96
+ version: 2.6.0
97
97
  - !ruby/object:Gem::Dependency
98
- name: guard
98
+ name: guard-rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 4.2.8
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: 4.2.8
111
111
  - !ruby/object:Gem::Dependency
112
- name: guard-rspec
112
+ name: rb-fsevent
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: 0.9.3
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - ! '>='
123
123
  - !ruby/object:Gem::Version
124
- version: '0'
124
+ version: 0.9.3
125
125
  - !ruby/object:Gem::Dependency
126
- name: rb-fsevent
126
+ name: redcarpet
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: 3.1.1
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: 3.1.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: factory_girl
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ~>
144
+ - !ruby/object:Gem::Version
145
+ version: '4.4'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ version: '4.4'
153
+ - !ruby/object:Gem::Dependency
154
+ name: hashr
127
155
  requirement: !ruby/object:Gem::Requirement
128
156
  requirements:
129
- - - ">="
157
+ - - ~>
130
158
  - !ruby/object:Gem::Version
131
- version: '0'
159
+ version: 0.0.22
132
160
  type: :development
133
161
  prerelease: false
134
162
  version_requirements: !ruby/object:Gem::Requirement
135
163
  requirements:
136
- - - ">="
164
+ - - ~>
137
165
  - !ruby/object:Gem::Version
138
- version: '0'
166
+ version: 0.0.22
139
167
  description: include Gollum into Rails with ease
140
168
  email: mosny@zyg.li
141
169
  executables: []
@@ -169,16 +197,21 @@ files:
169
197
  - lib/gollum_rails/setup/options.rb
170
198
  - lib/gollum_rails/store.rb
171
199
  - lib/gollum_rails/validation.rb
200
+ - spec/factories.rb
201
+ - spec/gollum_rails/page_core_spec.rb
172
202
  - spec/gollum_rails/page_spec.rb
173
203
  - spec/gollum_rails/respository_spec.rb
174
204
  - spec/gollum_rails/setup_spec.rb
175
205
  - spec/gollum_rails/wiki_spec.rb
176
206
  - spec/spec_helper.rb
207
+ - spec/support/default_commit.rb
208
+ - spec/support/gollum_page_spec.rb
209
+ - spec/support/special_commit.rb
177
210
  homepage: https://github.com/nirnanaaa/gollum_rails
178
211
  licenses:
179
212
  - AGPL
180
213
  metadata: {}
181
- post_install_message: " Important: \n\n To enable gollum_rails run the following
214
+ post_install_message: ! " Important: \n\n To enable gollum_rails run the following
182
215
  command:\n \trails g gollum_rails:install\n\n To generate a new Page model just
183
216
  run:\n \trails g gollum_rails:model MODEL_NAME\n\n To install an additional parsing
184
217
  language run:\n \trails g gollum_rails:language LANGUAGE\n"
@@ -187,12 +220,12 @@ require_paths:
187
220
  - lib
188
221
  required_ruby_version: !ruby/object:Gem::Requirement
189
222
  requirements:
190
- - - ">="
223
+ - - ! '>='
191
224
  - !ruby/object:Gem::Version
192
225
  version: 1.9.3
193
226
  required_rubygems_version: !ruby/object:Gem::Requirement
194
227
  requirements:
195
- - - ">="
228
+ - - ! '>='
196
229
  - !ruby/object:Gem::Version
197
230
  version: '0'
198
231
  requirements: []