almanack 1.0.0 → 1.0.1
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/.travis.yml +2 -0
- data/README.md +30 -4
- data/lib/almanack/calendar.rb +1 -5
- data/lib/almanack/cli.rb +18 -4
- data/lib/almanack/configuration.rb +3 -1
- data/lib/almanack/event_source/meetup_group.rb +2 -0
- data/lib/almanack/version.rb +1 -1
- data/spec/calendar_spec.rb +5 -2
- data/spec/configuration_spec.rb +10 -0
- data/spec/event_source/meetup_group_spec.rb +12 -0
- data/spec/fixtures/responses/meetup-without-location.yml +11880 -0
- data/templates/new/README.md.tt +13 -0
- data/templates/new/config.ru.tt +2 -1
- metadata +5 -2
@@ -0,0 +1,13 @@
|
|
1
|
+
# <%= title %>
|
2
|
+
|
3
|
+
**<%= title %>** is powered by [Almanack](<%= almanack_homepage %>).
|
4
|
+
|
5
|
+
Start the server inside your project's directory with:
|
6
|
+
|
7
|
+
almanack start
|
8
|
+
|
9
|
+
By default, this will start a local server at http://localhost:9292/
|
10
|
+
|
11
|
+
Read more at <%= almanack_homepage %>
|
12
|
+
|
13
|
+
Features? Bugs? <%= almanack_issues %>
|
data/templates/new/config.ru.tt
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
require 'almanack/server'
|
2
2
|
|
3
3
|
Almanack.config do |c|
|
4
|
-
c.title =
|
4
|
+
c.title = <%= title.inspect %>
|
5
5
|
c.theme = "<%= theme_name %>" # available: <%= available_themes.join(', ') %>
|
6
|
+
c.days_lookahead = 30
|
6
7
|
|
7
8
|
# Your group's URL name is what you'd find at www.meetup.com/Your-Group-URL-Name/
|
8
9
|
# You can get a Meetup API key from https://secure.meetup.com/meetup_api/key
|
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.0.1
|
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-07-
|
11
|
+
date: 2014-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -266,6 +266,7 @@ files:
|
|
266
266
|
- spec/features/calendar_feature_spec.rb
|
267
267
|
- spec/features/subscription_feature_spec.rb
|
268
268
|
- spec/fixtures/responses/google_calendar.yml
|
269
|
+
- spec/fixtures/responses/meetup-without-location.yml
|
269
270
|
- spec/fixtures/responses/meetup.yml
|
270
271
|
- spec/spec_helper.rb
|
271
272
|
- spec/support/event_matchers.rb
|
@@ -273,6 +274,7 @@ files:
|
|
273
274
|
- spec/support/time_comparison_matchers.rb
|
274
275
|
- templates/gitignore
|
275
276
|
- templates/new/Gemfile
|
277
|
+
- templates/new/README.md.tt
|
276
278
|
- templates/new/config.ru.tt
|
277
279
|
homepage: https://github.com/Aupajo/sinatra-gcal
|
278
280
|
licenses:
|
@@ -309,6 +311,7 @@ test_files:
|
|
309
311
|
- spec/features/calendar_feature_spec.rb
|
310
312
|
- spec/features/subscription_feature_spec.rb
|
311
313
|
- spec/fixtures/responses/google_calendar.yml
|
314
|
+
- spec/fixtures/responses/meetup-without-location.yml
|
312
315
|
- spec/fixtures/responses/meetup.yml
|
313
316
|
- spec/spec_helper.rb
|
314
317
|
- spec/support/event_matchers.rb
|