strelka-cms 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,25 +1,20 @@
1
1
  #!/usr/bin/env rspec -cfd -b
2
2
 
3
- BEGIN {
4
- require 'pathname'
5
- basedir = Pathname( __FILE__ ).dirname.parent.parent
6
- $LOAD_PATH.unshift( basedir.to_s ) unless $LOAD_PATH.include?( basedir.to_s )
7
- }
8
-
9
- require 'rspec'
10
- require 'spec/lib/helpers'
3
+ require_relative '../helpers'
4
+
11
5
  require 'strelka/cms'
12
6
 
13
7
  describe Strelka::CMS do
14
8
 
15
9
  describe "version methods" do
16
10
  it "returns a version string if asked" do
17
- described_class.version_string.should =~ /\w+ [\d.]+/
11
+ expect( described_class.version_string ).to match( /\w+ [\d.]+/ )
18
12
  end
19
13
 
20
14
 
21
15
  it "returns a version string with a build number if asked" do
22
- described_class.version_string(true).should =~ /\w+ [\d.]+ \(build [[:xdigit:]]+\)/
16
+ expect( described_class.version_string(true) ).
17
+ to match( /\w+ [\d.]+ \(build [[:xdigit:]]+\)/ )
23
18
  end
24
19
  end
25
20
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strelka-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -10,224 +10,257 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDANnZWQx
13
+ MIIEbDCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQsFADA+MQwwCgYDVQQDDANnZWQx
14
14
  GTAXBgoJkiaJk/IsZAEZFglGYWVyaWVNVUQxEzARBgoJkiaJk/IsZAEZFgNvcmcw
15
- HhcNMTMwMjI3MTY0ODU4WhcNMTQwMjI3MTY0ODU4WjA+MQwwCgYDVQQDDANnZWQx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fNJJ6xu/CVij1GzCLu/5
32
+ DMOr26DBv+qLJRRC/2h34uX71q5QgeOyxvMg+7V3u/Q06DXyQ2VgeeqiwDFFpEH0
33
+ PFkdPO6ZqbTRcLfNH7mFgCBJjsfSjJrn0sPBlYyOXgCoByfZnZyrIMH/UY+lgQqS
34
+ 6Von1VDsfQm0eJh5zYZD64ZF86phSR7mUX3mXItwH04HrZwkWpvgd871DZVR3i1n
35
+ w8aNA5re5+Rt/Vvjxj5AcEnZnZiz5x959NaddQocX32Z1unHw44pzRNUur1GInfW
36
+ p4vpx2kUSFSAGjtCbDGTNV2AH8w9OU4xEmNz8c5lyoA=
32
37
  -----END CERTIFICATE-----
33
- date: 2013-03-20 00:00:00.000000000 Z
38
+ date: 2017-07-05 00:00:00.000000000 Z
34
39
  dependencies:
35
40
  - !ruby/object:Gem::Dependency
36
- name: strelka
41
+ name: RedCloth
37
42
  requirement: !ruby/object:Gem::Requirement
38
43
  requirements:
39
- - - ~>
44
+ - - "~>"
40
45
  - !ruby/object:Gem::Version
41
- version: '0.0'
46
+ version: '4.2'
42
47
  type: :runtime
43
48
  prerelease: false
44
49
  version_requirements: !ruby/object:Gem::Requirement
45
50
  requirements:
46
- - - ~>
51
+ - - "~>"
47
52
  - !ruby/object:Gem::Version
48
- version: '0.0'
53
+ version: '4.2'
49
54
  - !ruby/object:Gem::Dependency
50
- name: ratom
55
+ name: nokogiri
51
56
  requirement: !ruby/object:Gem::Requirement
52
57
  requirements:
53
- - - ~>
58
+ - - "~>"
54
59
  - !ruby/object:Gem::Version
55
- version: '0.6'
60
+ version: '1.6'
56
61
  type: :runtime
57
62
  prerelease: false
58
63
  version_requirements: !ruby/object:Gem::Requirement
59
64
  requirements:
60
- - - ~>
65
+ - - "~>"
61
66
  - !ruby/object:Gem::Version
62
- version: '0.6'
67
+ version: '1.6'
63
68
  - !ruby/object:Gem::Dependency
64
- name: RedCloth
69
+ name: strelka
65
70
  requirement: !ruby/object:Gem::Requirement
66
71
  requirements:
67
- - - ~>
72
+ - - "~>"
68
73
  - !ruby/object:Gem::Version
69
- version: '4.2'
74
+ version: '0.15'
70
75
  type: :runtime
71
76
  prerelease: false
72
77
  version_requirements: !ruby/object:Gem::Requirement
73
78
  requirements:
74
- - - ~>
79
+ - - "~>"
75
80
  - !ruby/object:Gem::Version
76
- version: '4.2'
81
+ version: '0.15'
77
82
  - !ruby/object:Gem::Dependency
78
- name: ots
83
+ name: ratom
79
84
  requirement: !ruby/object:Gem::Requirement
80
85
  requirements:
81
- - - ~>
86
+ - - "~>"
82
87
  - !ruby/object:Gem::Version
83
- version: '0.5'
88
+ version: '0.8'
84
89
  type: :runtime
85
90
  prerelease: false
86
91
  version_requirements: !ruby/object:Gem::Requirement
87
92
  requirements:
88
- - - ~>
93
+ - - "~>"
89
94
  - !ruby/object:Gem::Version
90
- version: '0.5'
95
+ version: '0.8'
91
96
  - !ruby/object:Gem::Dependency
92
- name: nokogiri
97
+ name: ots
93
98
  requirement: !ruby/object:Gem::Requirement
94
99
  requirements:
95
- - - ~>
100
+ - - "~>"
96
101
  - !ruby/object:Gem::Version
97
- version: '1.4'
102
+ version: '0.5'
98
103
  type: :runtime
99
104
  prerelease: false
100
105
  version_requirements: !ruby/object:Gem::Requirement
101
106
  requirements:
102
- - - ~>
107
+ - - "~>"
103
108
  - !ruby/object:Gem::Version
104
- version: '1.4'
109
+ version: '0.5'
105
110
  - !ruby/object:Gem::Dependency
106
111
  name: pluggability
107
112
  requirement: !ruby/object:Gem::Requirement
108
113
  requirements:
109
- - - ~>
114
+ - - "~>"
110
115
  - !ruby/object:Gem::Version
111
- version: '0.0'
116
+ version: '0.2'
112
117
  type: :runtime
113
118
  prerelease: false
114
119
  version_requirements: !ruby/object:Gem::Requirement
115
120
  requirements:
116
- - - ~>
121
+ - - "~>"
117
122
  - !ruby/object:Gem::Version
118
- version: '0.0'
123
+ version: '0.2'
119
124
  - !ruby/object:Gem::Dependency
120
125
  name: tidy-ext
121
126
  requirement: !ruby/object:Gem::Requirement
122
127
  requirements:
123
- - - ~>
128
+ - - "~>"
124
129
  - !ruby/object:Gem::Version
125
130
  version: '0.1'
126
131
  type: :runtime
127
132
  prerelease: false
128
133
  version_requirements: !ruby/object:Gem::Requirement
129
134
  requirements:
130
- - - ~>
135
+ - - "~>"
131
136
  - !ruby/object:Gem::Version
132
137
  version: '0.1'
133
138
  - !ruby/object:Gem::Dependency
134
139
  name: rcodetools
135
140
  requirement: !ruby/object:Gem::Requirement
136
141
  requirements:
137
- - - ~>
142
+ - - "~>"
138
143
  - !ruby/object:Gem::Version
139
144
  version: '0.8'
140
145
  type: :runtime
141
146
  prerelease: false
142
147
  version_requirements: !ruby/object:Gem::Requirement
143
148
  requirements:
144
- - - ~>
149
+ - - "~>"
145
150
  - !ruby/object:Gem::Version
146
151
  version: '0.8'
147
152
  - !ruby/object:Gem::Dependency
148
153
  name: strelka-fancyerrors
149
154
  requirement: !ruby/object:Gem::Requirement
150
155
  requirements:
151
- - - ~>
156
+ - - "~>"
152
157
  - !ruby/object:Gem::Version
153
158
  version: '0.0'
154
159
  type: :runtime
155
160
  prerelease: false
156
161
  version_requirements: !ruby/object:Gem::Requirement
157
162
  requirements:
158
- - - ~>
163
+ - - "~>"
159
164
  - !ruby/object:Gem::Version
160
165
  version: '0.0'
166
+ - !ruby/object:Gem::Dependency
167
+ name: mail
168
+ requirement: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: '2.6'
173
+ type: :runtime
174
+ prerelease: false
175
+ version_requirements: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '2.6'
161
180
  - !ruby/object:Gem::Dependency
162
181
  name: hoe-mercurial
163
182
  requirement: !ruby/object:Gem::Requirement
164
183
  requirements:
165
- - - ~>
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '1.4'
187
+ type: :development
188
+ prerelease: false
189
+ version_requirements: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '1.4'
194
+ - !ruby/object:Gem::Dependency
195
+ name: hoe-deveiate
196
+ requirement: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
166
199
  - !ruby/object:Gem::Version
167
- version: 1.4.0
200
+ version: '0.9'
168
201
  type: :development
169
202
  prerelease: false
170
203
  version_requirements: !ruby/object:Gem::Requirement
171
204
  requirements:
172
- - - ~>
205
+ - - "~>"
173
206
  - !ruby/object:Gem::Version
174
- version: 1.4.0
207
+ version: '0.9'
175
208
  - !ruby/object:Gem::Dependency
176
209
  name: hoe-highline
177
210
  requirement: !ruby/object:Gem::Requirement
178
211
  requirements:
179
- - - ~>
212
+ - - "~>"
180
213
  - !ruby/object:Gem::Version
181
- version: 0.1.0
214
+ version: '0.2'
182
215
  type: :development
183
216
  prerelease: false
184
217
  version_requirements: !ruby/object:Gem::Requirement
185
218
  requirements:
186
- - - ~>
219
+ - - "~>"
187
220
  - !ruby/object:Gem::Version
188
- version: 0.1.0
221
+ version: '0.2'
189
222
  - !ruby/object:Gem::Dependency
190
- name: rdoc
223
+ name: fakefs
191
224
  requirement: !ruby/object:Gem::Requirement
192
225
  requirements:
193
- - - ~>
226
+ - - "~>"
194
227
  - !ruby/object:Gem::Version
195
- version: '3.10'
228
+ version: '0.4'
196
229
  type: :development
197
230
  prerelease: false
198
231
  version_requirements: !ruby/object:Gem::Requirement
199
232
  requirements:
200
- - - ~>
233
+ - - "~>"
201
234
  - !ruby/object:Gem::Version
202
- version: '3.10'
235
+ version: '0.4'
203
236
  - !ruby/object:Gem::Dependency
204
- name: hoe-deveiate
237
+ name: rdoc
205
238
  requirement: !ruby/object:Gem::Requirement
206
239
  requirements:
207
- - - ~>
240
+ - - "~>"
208
241
  - !ruby/object:Gem::Version
209
- version: '0.1'
242
+ version: '4.0'
210
243
  type: :development
211
244
  prerelease: false
212
245
  version_requirements: !ruby/object:Gem::Requirement
213
246
  requirements:
214
- - - ~>
247
+ - - "~>"
215
248
  - !ruby/object:Gem::Version
216
- version: '0.1'
249
+ version: '4.0'
217
250
  - !ruby/object:Gem::Dependency
218
251
  name: hoe
219
252
  requirement: !ruby/object:Gem::Requirement
220
253
  requirements:
221
- - - ~>
254
+ - - "~>"
222
255
  - !ruby/object:Gem::Version
223
- version: '3.5'
256
+ version: '3.16'
224
257
  type: :development
225
258
  prerelease: false
226
259
  version_requirements: !ruby/object:Gem::Requirement
227
260
  requirements:
228
- - - ~>
261
+ - - "~>"
229
262
  - !ruby/object:Gem::Version
230
- version: '3.5'
263
+ version: '3.16'
231
264
  description: |-
232
265
  This is a web content-management application written for the Strelka
233
266
  web application framework.
@@ -248,13 +281,13 @@ files:
248
281
  - Procfile
249
282
  - README.rdoc
250
283
  - Rakefile
251
- - data/strelka-cms/apps/content-feeds
252
- - data/strelka-cms/apps/content-manager
253
284
  - data/strelka-cms/templates/autoindex/default.tmpl
254
285
  - data/strelka-cms/templates/layout.tmpl
255
286
  - data/strelka-cms/templates/page.tmpl
256
287
  - etc/mongrel.rb
288
+ - lib/strelka/apps.rb
257
289
  - lib/strelka/cms.rb
290
+ - lib/strelka/cms/feeds.rb
258
291
  - lib/strelka/cms/page.rb
259
292
  - lib/strelka/cms/pagecatalog.rb
260
293
  - lib/strelka/cms/pagefilter.rb
@@ -264,6 +297,7 @@ files:
264
297
  - lib/strelka/cms/pagefilter/example.rb
265
298
  - lib/strelka/cms/pagefilter/strip.rb
266
299
  - lib/strelka/cms/pagefilter/textile.rb
300
+ - lib/strelka/cms/publisher.rb
267
301
  - public/humans.txt
268
302
  - public/images/misc/button-gloss.png
269
303
  - public/images/misc/button-overlay.png
@@ -291,36 +325,34 @@ files:
291
325
  - public/stylesheets/foundation.css
292
326
  - public/stylesheets/ie.css
293
327
  - spec/data/test.page
294
- - spec/lib/helpers.rb
328
+ - spec/helpers.rb
295
329
  - spec/strelka/cms/page_spec.rb
296
330
  - spec/strelka/cms/pagecatalog_spec.rb
331
+ - spec/strelka/cms/pagefilter/autoindex_spec.rb
297
332
  - spec/strelka/cms_spec.rb
298
- - .gemtest
299
333
  homepage: https://bitbucket.org/ged/strelka-cms
300
334
  licenses:
301
- - BSD
335
+ - BSD-3-Clause
302
336
  metadata: {}
303
337
  post_install_message:
304
338
  rdoc_options:
305
- - -f
306
- - fivefish
307
- - -t
308
- - Strelka CMS
339
+ - "--main"
340
+ - README.rdoc
309
341
  require_paths:
310
342
  - lib
311
343
  required_ruby_version: !ruby/object:Gem::Requirement
312
344
  requirements:
313
- - - '>='
345
+ - - ">="
314
346
  - !ruby/object:Gem::Version
315
- version: 1.9.3
347
+ version: 2.3.4
316
348
  required_rubygems_version: !ruby/object:Gem::Requirement
317
349
  requirements:
318
- - - '>='
350
+ - - ">="
319
351
  - !ruby/object:Gem::Version
320
352
  version: '0'
321
353
  requirements: []
322
- rubyforge_project: strelka-cms
323
- rubygems_version: 2.0.3
354
+ rubyforge_project:
355
+ rubygems_version: 2.6.12
324
356
  signing_key:
325
357
  specification_version: 4
326
358
  summary: This is a web content-management application written for the Strelka web
metadata.gz.sig CHANGED
@@ -1,3 +1 @@
1
- ���Fvj(PS!��.��c�8��h%��1�oNJ>P��=��a���?X�ƨ�!v�#�?�l�\�N 78���Ҵݒ<?k6'Gq皯A|�
2
- g���[ݙ��גt��(8�Ljڊ�P��'���K������C|#�Z�2:d��k�ɃSQ��6��"F�q}L��Y����ذ)����31v��lQ�
3
- #���Gi�;�k&_�߽z{6��e{�B���PM|�� y�~��� �Bغ�wU�b���4Z@
1
+ ��<X}�Maw���Ð�'g`(�M��D?�T?�}�J_��!�@&i�o�~�^-D��SӸ��/�M������)�Lkc��c��zzp6�����;N.;mN-�}ڱ�ߨY��:s}h�5p26Y�!z�W���}#E�$��o��'��n���6 ��9����?AM�����[@�B=V� ��{Ђl
data/.gemtest DELETED
File without changes