almanack 1.0.5 → 1.1.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/almanack.gemspec +1 -0
- data/example.ru +4 -4
- data/lib/almanack/base.rb +22 -0
- data/lib/almanack/calendar.rb +9 -27
- data/lib/almanack/configuration.rb +15 -4
- data/lib/almanack/event.rb +56 -5
- data/lib/almanack/event_source/ical_feed.rb +6 -2
- data/lib/almanack/event_source/meetup_group.rb +26 -5
- data/lib/almanack/event_source/static.rb +5 -1
- data/lib/almanack/representation/ical_feed.rb +59 -0
- data/lib/almanack/representation/json_feed.rb +55 -0
- data/lib/almanack/serialized_transformation.rb +53 -0
- data/lib/almanack/server/environment.rb +38 -0
- data/lib/almanack/server/helpers.rb +32 -28
- data/lib/almanack/server.rb +23 -37
- data/lib/almanack/themes/legacy/views/events.erb +2 -2
- data/lib/almanack/themes/starter/views/events.erb +2 -2
- data/lib/almanack/version.rb +1 -1
- data/lib/almanack.rb +4 -18
- data/spec/calendar_spec.rb +10 -3
- data/spec/configuration_spec.rb +10 -0
- data/spec/event_source/ical_feed_spec.rb +15 -2
- data/spec/event_source/meetup_group_spec.rb +23 -2
- data/spec/event_source/static_spec.rb +25 -7
- data/spec/event_spec.rb +80 -11
- data/spec/features/api_feature_spec.rb +24 -0
- data/spec/features/calendar_feature_spec.rb +3 -3
- data/spec/features/subscription_feature_spec.rb +5 -5
- data/spec/representation/json_feed_spec.rb +44 -0
- data/spec/serialized_transformation_spec.rb +45 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/support/event_matchers.rb +1 -1
- data/templates/new/config.ru.tt +1 -1
- metadata +29 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: almanack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.1.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Nicholls
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rack-contrib
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: bundler
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -252,6 +266,7 @@ files:
|
|
252
266
|
- bin/almanack
|
253
267
|
- example.ru
|
254
268
|
- lib/almanack.rb
|
269
|
+
- lib/almanack/base.rb
|
255
270
|
- lib/almanack/calendar.rb
|
256
271
|
- lib/almanack/cli.rb
|
257
272
|
- lib/almanack/configuration.rb
|
@@ -259,7 +274,11 @@ files:
|
|
259
274
|
- lib/almanack/event_source/ical_feed.rb
|
260
275
|
- lib/almanack/event_source/meetup_group.rb
|
261
276
|
- lib/almanack/event_source/static.rb
|
277
|
+
- lib/almanack/representation/ical_feed.rb
|
278
|
+
- lib/almanack/representation/json_feed.rb
|
279
|
+
- lib/almanack/serialized_transformation.rb
|
262
280
|
- lib/almanack/server.rb
|
281
|
+
- lib/almanack/server/environment.rb
|
263
282
|
- lib/almanack/server/helpers.rb
|
264
283
|
- lib/almanack/themes/legacy/stylesheets/calendar.scss
|
265
284
|
- lib/almanack/themes/legacy/views/error.erb
|
@@ -278,6 +297,7 @@ files:
|
|
278
297
|
- spec/event_source/meetup_group_spec.rb
|
279
298
|
- spec/event_source/static_spec.rb
|
280
299
|
- spec/event_spec.rb
|
300
|
+
- spec/features/api_feature_spec.rb
|
281
301
|
- spec/features/calendar_feature_spec.rb
|
282
302
|
- spec/features/sass_features_spec.rb
|
283
303
|
- spec/features/subscription_feature_spec.rb
|
@@ -286,6 +306,8 @@ files:
|
|
286
306
|
- spec/fixtures/responses/meetup.yml
|
287
307
|
- spec/fixtures/themes/sassy/stylesheets/imported.scss
|
288
308
|
- spec/fixtures/themes/sassy/stylesheets/imports.scss
|
309
|
+
- spec/representation/json_feed_spec.rb
|
310
|
+
- spec/serialized_transformation_spec.rb
|
289
311
|
- spec/spec_helper.rb
|
290
312
|
- spec/support/event_matchers.rb
|
291
313
|
- spec/support/server_support.rb
|
@@ -309,9 +331,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
309
331
|
version: '0'
|
310
332
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
311
333
|
requirements:
|
312
|
-
- - "
|
334
|
+
- - ">"
|
313
335
|
- !ruby/object:Gem::Version
|
314
|
-
version:
|
336
|
+
version: 1.3.1
|
315
337
|
requirements: []
|
316
338
|
rubyforge_project:
|
317
339
|
rubygems_version: 2.2.2
|
@@ -326,6 +348,7 @@ test_files:
|
|
326
348
|
- spec/event_source/meetup_group_spec.rb
|
327
349
|
- spec/event_source/static_spec.rb
|
328
350
|
- spec/event_spec.rb
|
351
|
+
- spec/features/api_feature_spec.rb
|
329
352
|
- spec/features/calendar_feature_spec.rb
|
330
353
|
- spec/features/sass_features_spec.rb
|
331
354
|
- spec/features/subscription_feature_spec.rb
|
@@ -334,6 +357,8 @@ test_files:
|
|
334
357
|
- spec/fixtures/responses/meetup.yml
|
335
358
|
- spec/fixtures/themes/sassy/stylesheets/imported.scss
|
336
359
|
- spec/fixtures/themes/sassy/stylesheets/imports.scss
|
360
|
+
- spec/representation/json_feed_spec.rb
|
361
|
+
- spec/serialized_transformation_spec.rb
|
337
362
|
- spec/spec_helper.rb
|
338
363
|
- spec/support/event_matchers.rb
|
339
364
|
- spec/support/server_support.rb
|