slideshow 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +1 -0
- data/config/slideshow.index.yml +49 -0
- data/config/slideshow.yml +0 -25
- data/lib/slideshow/cli/commands/fetch.rb +38 -26
- data/lib/slideshow/cli/commands/quick.rb +12 -3
- data/lib/slideshow/cli/main.rb +13 -1
- data/lib/slideshow/config.rb +75 -24
- data/lib/slideshow/version.rb +1 -1
- metadata +186 -111
data/Manifest.txt
CHANGED
@@ -0,0 +1,49 @@
|
|
1
|
+
###############################
|
2
|
+
# copy from -> https://github.com/slideshow-s9/update/blob/master/index.yml
|
3
|
+
#
|
4
|
+
# issue
|
5
|
+
# slideshow update
|
6
|
+
# to update index
|
7
|
+
|
8
|
+
|
9
|
+
##############################################################
|
10
|
+
# Slide Show (S9) Update Index for Template Packs 'n' Plugins
|
11
|
+
|
12
|
+
|
13
|
+
#############
|
14
|
+
# shortcuts for fetching template packs (w/ optional quick starter templates)
|
15
|
+
# map shortcut to URI
|
16
|
+
|
17
|
+
s6blank: https://raw.github.com/slideshow-s9/slideshow-s6-blank/master/s6blank.txt
|
18
|
+
|
19
|
+
s6syntax: https://raw.github.com/slideshow-s9/slideshow-s6-syntax-highlighter/master/s6syntax.txt
|
20
|
+
|
21
|
+
s5blank: https://raw.github.com/slideshow-s9/slideshow-s5-blank/master/s5blank.txt
|
22
|
+
|
23
|
+
s5themes: https://raw.github.com/slideshow-s9/slideshow-s5-themes/master/s5themes.txt
|
24
|
+
|
25
|
+
g5: https://raw.github.com/slideshow-s9/slideshow-google-html5-slides/master/g5.txt
|
26
|
+
|
27
|
+
slidy:
|
28
|
+
- https://raw.github.com/slideshow-s9/slideshow-slidy/master/slidy.txt
|
29
|
+
- https://raw.github.com/slideshow-s9/slideshow-slidy/master/slidy.txt.quick
|
30
|
+
|
31
|
+
csss:
|
32
|
+
- https://raw.github.com/slideshow-s9/slideshow-csss/master/csss.txt
|
33
|
+
- https://raw.github.com/slideshow-s9/slideshow-csss/master/csss.txt.quick
|
34
|
+
|
35
|
+
deck.js:
|
36
|
+
- https://raw.github.com/slideshow-s9/slideshow-deck.js/master/deck.js.txt
|
37
|
+
- https://raw.github.com/slideshow-s9/slideshow-deck.js/master/deck.js.txt.quick
|
38
|
+
|
39
|
+
impress.js:
|
40
|
+
- https://raw.github.com/slideshow-s9/slideshow-impress.js/master/impress.js.txt
|
41
|
+
- https://raw.github.com/slideshow-s9/slideshow-impress.js/master/impress.js.txt.quick
|
42
|
+
|
43
|
+
shower: https://raw.github.com/slideshow-s9/slideshow-shower/master/shower.txt
|
44
|
+
|
45
|
+
|
46
|
+
##################
|
47
|
+
# plugins
|
48
|
+
|
49
|
+
analytics: https://raw.github.com/slideshow-s9/analytics/master/analytics.txt.plugin
|
data/config/slideshow.yml
CHANGED
@@ -71,28 +71,3 @@ rest:
|
|
71
71
|
extnames: [ .rst, .rest ]
|
72
72
|
|
73
73
|
# NB: markdown now configured in markdown.yml (using markdown gem)
|
74
|
-
|
75
|
-
|
76
|
-
#############################
|
77
|
-
# shortcuts for fetching template packs & plugins
|
78
|
-
# map shortcut to URI
|
79
|
-
fetch:
|
80
|
-
s6syntax: https://raw.github.com/slideshow-s9/slideshow-s6-syntax-highlighter/master/s6syntax.txt
|
81
|
-
s6blank: https://raw.github.com/slideshow-s9/slideshow-s6-blank/master/s6blank.txt
|
82
|
-
s5blank: https://raw.github.com/slideshow-s9/slideshow-s5-blank/master/s5blank.txt
|
83
|
-
s5themes: https://raw.github.com/slideshow-s9/slideshow-s5-themes/master/s5themes.txt
|
84
|
-
slidy: https://raw.github.com/slideshow-s9/slideshow-slidy/master/slidy.txt
|
85
|
-
g5: https://raw.github.com/slideshow-s9/slideshow-google-html5-slides/master/g5.txt
|
86
|
-
csss: https://raw.github.com/slideshow-s9/slideshow-csss/master/csss.txt
|
87
|
-
deck.js: https://raw.github.com/slideshow-s9/slideshow-deck.js/master/deck.js.txt
|
88
|
-
impress.js: https://raw.github.com/slideshow-s9/slideshow-impress.js/master/impress.js.txt
|
89
|
-
shower: https://raw.github.com/slideshow-s9/slideshow-shower/master/shower.txt
|
90
|
-
analytics: https://raw.github.com/slideshow-s9/analytics/master/analytics.txt.plugin
|
91
|
-
|
92
|
-
###########################
|
93
|
-
# shortcuts for quick starter templates
|
94
|
-
quick:
|
95
|
-
slidy: https://raw.github.com/slideshow-s9/slideshow-slidy/master/slidy.txt.quick
|
96
|
-
deck.js: https://raw.github.com/slideshow-s9/slideshow-deck.js/master/deck.js.txt.quick
|
97
|
-
impress.js: https://raw.github.com/slideshow-s9/slideshow-impress.js/master/impress.js.txt.quick
|
98
|
-
csss: https://raw.github.com/slideshow-s9/slideshow-csss/master/csss.txt.quick
|
@@ -15,47 +15,59 @@ class Fetch
|
|
15
15
|
|
16
16
|
|
17
17
|
def fetch_all
|
18
|
-
config.default_fetch_shortcuts.
|
18
|
+
config.default_fetch_shortcuts.each do |shortcut|
|
19
19
|
fetch( shortcut )
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
|
23
|
+
|
24
|
+
def update # update shortcut index
|
25
|
+
dest = config.shortcut_index_file
|
24
26
|
|
25
|
-
|
27
|
+
destfull = File.expand_path( dest )
|
28
|
+
destpath = File.dirname( destfull )
|
29
|
+
FileUtils.makedirs( destpath ) unless File.directory?( destpath )
|
30
|
+
|
31
|
+
logger.debug "destfull=>#{destfull}<"
|
32
|
+
logger.debug "destpath=>#{destpath}<"
|
33
|
+
|
34
|
+
## todo/fix: use a config setting for index url (do NOT hard core)
|
35
|
+
src = 'https://raw.github.com/slideshow-s9/update/master/slideshow.index.yml'
|
36
|
+
|
37
|
+
puts "Updating shortcut index - downloading '#{src}'..."
|
38
|
+
::Fetcher::Worker.new( logger ).copy( src, destfull )
|
39
|
+
end
|
40
|
+
|
41
|
+
|
42
|
+
def fetch( shortcut_or_source )
|
43
|
+
|
44
|
+
logger.debug "fetch >#{shortcut_or_source}<"
|
26
45
|
|
27
46
|
## check for builtin shortcut (assume no / or \)
|
28
|
-
if
|
29
|
-
shortcut =
|
30
|
-
|
47
|
+
if shortcut_or_source.index( '/' ).nil? && shortcut_or_source.index( '\\' ).nil?
|
48
|
+
shortcut = shortcut_or_source
|
49
|
+
sources = config.map_fetch_shortcut( shortcut )
|
31
50
|
|
32
|
-
if
|
33
|
-
puts "** Error: No mapping found for
|
51
|
+
if sources.empty?
|
52
|
+
puts "** Error: No mapping found for shortcut '#{shortcut}'."
|
34
53
|
return
|
35
54
|
end
|
36
|
-
puts " Mapping fetch shortcut '#{shortcut}' to: #{
|
55
|
+
puts " Mapping fetch shortcut '#{shortcut}' to: #{sources.join(',')}"
|
37
56
|
else
|
38
|
-
|
57
|
+
sources = [shortcut_or_source] # pass arg through unmapped
|
39
58
|
end
|
40
59
|
|
41
|
-
|
42
|
-
if src.include?( '.plugin' )
|
43
|
-
fetch_plugin( src )
|
44
|
-
else # otherwise assume it's a template pack
|
45
|
-
fetch_template( src )
|
46
|
-
|
47
|
-
###################################
|
48
|
-
## step 2) if shortcut exists (auto include quickstarter manifest w/ same name/key)
|
49
|
-
|
50
|
-
if shortcut.present?
|
60
|
+
sources.each do |source|
|
51
61
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
62
|
+
## if manifest includes .plugin assume it's a plugin
|
63
|
+
if source.include?( '.txt.plugin' ) || source.include?( '.plugin.txt' )
|
64
|
+
fetch_plugin( source )
|
65
|
+
elsif source.include?( '.txt.quick' ) || source.include?( '.quick.txt' )
|
66
|
+
fetch_quick( source )
|
67
|
+
else # otherwise assume it's a template pack
|
68
|
+
fetch_template( source )
|
58
69
|
end
|
70
|
+
|
59
71
|
end
|
60
72
|
|
61
73
|
end # method run
|
@@ -49,12 +49,21 @@ class Quick
|
|
49
49
|
|
50
50
|
def fetch_pak( shortcut )
|
51
51
|
|
52
|
-
|
52
|
+
sources = config.map_fetch_shortcut( shortcut )
|
53
53
|
|
54
|
-
if
|
55
|
-
puts "*** error: no mapping found for
|
54
|
+
if sources.empty?
|
55
|
+
puts "*** error: no mapping found for shortcut '#{shortcut}'."
|
56
56
|
exit 2
|
57
57
|
end
|
58
|
+
|
59
|
+
sources = sources.select { |s| s.include?('.txt.quick') || s.include?('.quick.txt') }
|
60
|
+
|
61
|
+
if sources.empty?
|
62
|
+
puts "*** error: no quick mapping found for shortcut '#{shortcut}'."
|
63
|
+
exit 2
|
64
|
+
end
|
65
|
+
|
66
|
+
src = sources[0]
|
58
67
|
|
59
68
|
puts " Mapping quick shortcut '#{shortcut}' to: #{src}"
|
60
69
|
|
data/lib/slideshow/cli/main.rb
CHANGED
@@ -140,7 +140,7 @@ desc 'Install template pack'
|
|
140
140
|
arg_name 'MANIFEST', multiple: true
|
141
141
|
command [:install,:i] do |c|
|
142
142
|
|
143
|
-
c.desc "Template Packs (#{config.default_fetch_shortcuts.
|
143
|
+
c.desc "Template Packs (#{config.default_fetch_shortcuts.join(', ')})"
|
144
144
|
c.switch [:a,:all], negatable: false
|
145
145
|
|
146
146
|
c.action do |g,o,args|
|
@@ -157,6 +157,18 @@ command [:install,:i] do |c|
|
|
157
157
|
end
|
158
158
|
|
159
159
|
|
160
|
+
desc "Update shortcut index for template packs 'n' plugins"
|
161
|
+
command [:update,:u] do |c|
|
162
|
+
|
163
|
+
c.action do |g,o,args|
|
164
|
+
logger.debug 'hello from update command'
|
165
|
+
|
166
|
+
# todo: move update to its own command
|
167
|
+
Slideshow::Fetch.new( opts, config ).update()
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
|
160
172
|
######
|
161
173
|
# add command :g,:gen,:generate ??? why? why not? better just git clone repos
|
162
174
|
# or use command copy?
|
data/lib/slideshow/config.rb
CHANGED
@@ -22,6 +22,7 @@ class Config
|
|
22
22
|
@opts.takahashi?
|
23
23
|
end
|
24
24
|
|
25
|
+
|
25
26
|
# todo/fix: fix references after this move to here, that is, Config class
|
26
27
|
# - used in syntax/uv_helper (use config.cache_dir to access?)
|
27
28
|
|
@@ -41,6 +42,72 @@ class Config
|
|
41
42
|
end
|
42
43
|
|
43
44
|
|
45
|
+
def shortcut_index_file
|
46
|
+
## e.g. ~/slideshow.index.yml
|
47
|
+
File.join( Env.home, 'slideshow.index.yml' )
|
48
|
+
end
|
49
|
+
|
50
|
+
|
51
|
+
def load_shortcuts
|
52
|
+
# load default index/registry for shortcuts
|
53
|
+
props_shortcuts_default_file = File.join( Slideshow.root, 'config', 'slideshow.index.yml' )
|
54
|
+
@props_shortcuts = @props_shortcuts_default = Props.load_file( props_shortcuts_default_file )
|
55
|
+
|
56
|
+
# check for update (slideshow.index.yml) in home folder
|
57
|
+
|
58
|
+
props_shortcuts_home_file = File.join( Env.home, 'slideshow.index.yml' )
|
59
|
+
if File.exists?( props_shortcuts_home_file )
|
60
|
+
puts "Loading shortcut index from '#{props_shortcuts_home_file}'..."
|
61
|
+
@props_shortcuts = @props_shortcuts_home = Props.load_file( props_shortcuts_home_file, @props_shortcuts )
|
62
|
+
end
|
63
|
+
|
64
|
+
# todo: add props from (optional) fetch section from 'standard' props (e.g. props[:fetch])
|
65
|
+
# - allows user to add own shortcuts in slideshow.yml settings
|
66
|
+
end
|
67
|
+
|
68
|
+
|
69
|
+
def map_fetch_shortcut( key )
|
70
|
+
# NB: always returns an array!!! 0,1 or more entries
|
71
|
+
# - no value - return empty ary
|
72
|
+
|
73
|
+
## todo: normalize key???
|
74
|
+
value = @props.fetch_from_section( 'fetch', key, @props_shortcuts.fetch( key, nil ))
|
75
|
+
|
76
|
+
if value.nil?
|
77
|
+
[]
|
78
|
+
elsif value.kind_of?( String )
|
79
|
+
[value]
|
80
|
+
else # assume it's an array already; ## todo: check if it's an array
|
81
|
+
value
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
|
86
|
+
def default_fetch_shortcuts
|
87
|
+
## NB: used by install --all
|
88
|
+
|
89
|
+
['s6blank',
|
90
|
+
's6syntax',
|
91
|
+
's5blank',
|
92
|
+
's5themes',
|
93
|
+
'g5',
|
94
|
+
'slidy',
|
95
|
+
'deck.js',
|
96
|
+
'impress.js',
|
97
|
+
'analytics'
|
98
|
+
]
|
99
|
+
|
100
|
+
## todo: use @props_shortcuts keys
|
101
|
+
# and use
|
102
|
+
#
|
103
|
+
# fetch_shortcuts = fetch_shortcuts.clone
|
104
|
+
# fetch_shortcuts.delete( 'fullerscreen' ) # obsolete (do not promote any longer)
|
105
|
+
# fetch_shortcuts.delete( 'slippy' ) # needs update/maintainer anyone?
|
106
|
+
# fetch_shortcuts.delete( 'shower' ) # needs update/maintainer anyone?
|
107
|
+
# etc. to strip keys for all install
|
108
|
+
end
|
109
|
+
|
110
|
+
|
44
111
|
def load
|
45
112
|
|
46
113
|
# load builtin config file @ <gem>/config/slideshow.yml
|
@@ -51,7 +118,6 @@ class Config
|
|
51
118
|
props_builtin_file = File.join( Slideshow.root, 'config', 'slideshow.builtin.yml' )
|
52
119
|
@props_builtin = Props.load_file( props_builtin_file )
|
53
120
|
|
54
|
-
|
55
121
|
props_default_file = File.join( Slideshow.root, 'config', 'slideshow.yml' )
|
56
122
|
@props = @props_default = Props.load_file_with_erb( props_default_file, binding() )
|
57
123
|
|
@@ -70,6 +136,9 @@ class Config
|
|
70
136
|
puts "Loading settings from '#{props_work_file}'..."
|
71
137
|
@props = @props_work = Props.load_file_with_erb( props_work_file, binding(), @props )
|
72
138
|
end
|
139
|
+
|
140
|
+
# load shortcuts
|
141
|
+
load_shortcuts
|
73
142
|
end
|
74
143
|
|
75
144
|
def dump # dump settings for debugging
|
@@ -79,6 +148,11 @@ class Config
|
|
79
148
|
@props_home.dump if @props_home
|
80
149
|
@props_work.dump if @props_work
|
81
150
|
|
151
|
+
puts "Slideshow shortcuts:"
|
152
|
+
@props_shortcuts_default.dump if @props_shortcuts_default
|
153
|
+
@props_shortcuts_home.dump if @props_shortcuts_home
|
154
|
+
## todo: add props from 'standard' props via fetch key
|
155
|
+
|
82
156
|
## todo: add more config settings?
|
83
157
|
end
|
84
158
|
|
@@ -87,19 +161,6 @@ class Config
|
|
87
161
|
@props.fetch_from_section( 'headers', normalize_key( key ), nil )
|
88
162
|
end
|
89
163
|
|
90
|
-
def default_fetch_shortcuts
|
91
|
-
fetch_shortcuts = @props_default.fetch( 'fetch', {} )
|
92
|
-
|
93
|
-
fetch_shortcuts = fetch_shortcuts.clone
|
94
|
-
fetch_shortcuts.delete( 'fullerscreen' ) # obsolete (do not promote any longer)
|
95
|
-
fetch_shortcuts.delete( 'slippy' ) # needs update/maintainer anyone?
|
96
|
-
fetch_shortcuts.delete( 'shower' ) # needs update/maintainer anyone?
|
97
|
-
|
98
|
-
fetch_shortcuts.delete( 's6syntax' ) # better wait for next update
|
99
|
-
fetch_shortcuts.delete( 's6blank' ) # better wait for next update
|
100
|
-
|
101
|
-
fetch_shortcuts
|
102
|
-
end
|
103
164
|
|
104
165
|
def markdown_post_processing?( lib )
|
105
166
|
## todo: normalize key/lib???
|
@@ -141,16 +202,6 @@ class Config
|
|
141
202
|
def google_analytics_code
|
142
203
|
@props.fetch_from_section( 'analytics', 'google', nil )
|
143
204
|
end
|
144
|
-
|
145
|
-
def map_fetch_shortcut( key )
|
146
|
-
## todo: normalize key???
|
147
|
-
@props.fetch_from_section( 'fetch', key, nil )
|
148
|
-
end
|
149
|
-
|
150
|
-
def map_quick_shortcut( key )
|
151
|
-
## todo: normalize key???
|
152
|
-
@props.fetch_from_section( 'quick', key, nil )
|
153
|
-
end
|
154
205
|
|
155
206
|
def helper_renames
|
156
207
|
## NB: for now user cannot override/extent renames
|
data/lib/slideshow/version.rb
CHANGED
metadata
CHANGED
@@ -1,153 +1,222 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: slideshow
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 2.2.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Gerald Bauer
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2013-07-12 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: props
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 23
|
29
|
+
segments:
|
30
|
+
- 1
|
31
|
+
- 0
|
32
|
+
- 0
|
21
33
|
version: 1.0.0
|
22
34
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
26
37
|
name: markdown
|
27
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
40
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 23
|
45
|
+
segments:
|
46
|
+
- 1
|
47
|
+
- 0
|
48
|
+
- 0
|
32
49
|
version: 1.0.0
|
33
50
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
37
53
|
name: textutils
|
38
|
-
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
56
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 23
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
- 2
|
64
|
+
- 0
|
43
65
|
version: 0.2.0
|
44
66
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
67
|
+
version_requirements: *id003
|
68
|
+
- !ruby/object:Gem::Dependency
|
48
69
|
name: pakman
|
49
|
-
|
70
|
+
prerelease: false
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
72
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 15
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
- 4
|
80
|
+
- 0
|
54
81
|
version: 0.4.0
|
55
82
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
83
|
+
version_requirements: *id004
|
84
|
+
- !ruby/object:Gem::Dependency
|
59
85
|
name: activesupport
|
60
|
-
|
86
|
+
prerelease: false
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
88
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 3
|
93
|
+
segments:
|
94
|
+
- 3
|
95
|
+
- 2
|
96
|
+
- 6
|
65
97
|
version: 3.2.6
|
66
98
|
type: :runtime
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
99
|
+
version_requirements: *id005
|
100
|
+
- !ruby/object:Gem::Dependency
|
70
101
|
name: RedCloth
|
71
|
-
|
102
|
+
prerelease: false
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
72
104
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 37
|
109
|
+
segments:
|
110
|
+
- 4
|
111
|
+
- 2
|
112
|
+
- 9
|
76
113
|
version: 4.2.9
|
77
114
|
type: :runtime
|
78
|
-
|
79
|
-
|
80
|
-
- !ruby/object:Gem::Dependency
|
115
|
+
version_requirements: *id006
|
116
|
+
- !ruby/object:Gem::Dependency
|
81
117
|
name: logutils
|
82
|
-
|
118
|
+
prerelease: false
|
119
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
83
120
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
hash: 7
|
125
|
+
segments:
|
126
|
+
- 0
|
127
|
+
- 6
|
128
|
+
- 0
|
87
129
|
version: 0.6.0
|
88
130
|
type: :runtime
|
89
|
-
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
131
|
+
version_requirements: *id007
|
132
|
+
- !ruby/object:Gem::Dependency
|
92
133
|
name: gli
|
93
|
-
|
134
|
+
prerelease: false
|
135
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
94
136
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
hash: 23
|
141
|
+
segments:
|
142
|
+
- 2
|
143
|
+
- 5
|
144
|
+
- 6
|
98
145
|
version: 2.5.6
|
99
146
|
type: :runtime
|
100
|
-
|
101
|
-
|
102
|
-
- !ruby/object:Gem::Dependency
|
147
|
+
version_requirements: *id008
|
148
|
+
- !ruby/object:Gem::Dependency
|
103
149
|
name: rdoc
|
104
|
-
|
150
|
+
prerelease: false
|
151
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
105
152
|
none: false
|
106
|
-
requirements:
|
153
|
+
requirements:
|
107
154
|
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
hash: 19
|
157
|
+
segments:
|
158
|
+
- 3
|
159
|
+
- 10
|
160
|
+
version: "3.10"
|
110
161
|
type: :development
|
111
|
-
|
112
|
-
|
113
|
-
- !ruby/object:Gem::Dependency
|
162
|
+
version_requirements: *id009
|
163
|
+
- !ruby/object:Gem::Dependency
|
114
164
|
name: hoe
|
115
|
-
|
165
|
+
prerelease: false
|
166
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
116
167
|
none: false
|
117
|
-
requirements:
|
168
|
+
requirements:
|
118
169
|
- - ~>
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
hash: 1
|
172
|
+
segments:
|
173
|
+
- 3
|
174
|
+
- 3
|
175
|
+
version: "3.3"
|
121
176
|
type: :development
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
177
|
+
version_requirements: *id010
|
178
|
+
description: |-
|
179
|
+
The Slide Show (S9) Ruby gem lets you create slide shows and author slides in plain text
|
180
|
+
using a wiki-style markup language that's easy-to-write and easy-to-read.
|
181
|
+
The Slide Show (S9) project also collects and welcomes themes and ships
|
182
|
+
"out-of-the-gem" with built-in support for "loss-free" gradient vector graphics themes.
|
183
|
+
|
184
|
+
~~~
|
185
|
+
SYNOPSIS
|
186
|
+
slideshow [global options] command [command options] [arguments...]
|
187
|
+
|
188
|
+
VERSION
|
189
|
+
2.0.0
|
190
|
+
|
191
|
+
GLOBAL OPTIONS
|
192
|
+
-c, --config=PATH - Configuration Path (default: ~/.slideshow)
|
193
|
+
--verbose - (Debug) Show debug messages
|
194
|
+
--version - Show version
|
195
|
+
|
196
|
+
COMMANDS
|
197
|
+
build, b - Build slideshow
|
198
|
+
install, i - Install template pack
|
199
|
+
list, ls, l - List installed template packs
|
200
|
+
new, n - Generate quick starter sample
|
201
|
+
about, a - (Debug) Show more version info
|
202
|
+
help - Shows a list of commands or help for one command
|
203
|
+
~~~
|
137
204
|
email: webslideshow@googlegroups.com
|
138
|
-
executables:
|
205
|
+
executables:
|
139
206
|
- slideshow
|
140
207
|
extensions: []
|
141
|
-
|
208
|
+
|
209
|
+
extra_rdoc_files:
|
142
210
|
- Manifest.txt
|
143
211
|
- templates/s6.txt
|
144
|
-
files:
|
212
|
+
files:
|
145
213
|
- History.markdown
|
146
214
|
- Manifest.txt
|
147
215
|
- README.markdown
|
148
216
|
- Rakefile
|
149
217
|
- bin/slideshow
|
150
218
|
- config/slideshow.builtin.yml
|
219
|
+
- config/slideshow.index.yml
|
151
220
|
- config/slideshow.yml
|
152
221
|
- lib/slideshow.rb
|
153
222
|
- lib/slideshow/cli/commands/fetch.rb
|
@@ -198,38 +267,44 @@ files:
|
|
198
267
|
- templates/welcome.txt.quick
|
199
268
|
homepage: http://slideshow-s9.github.io
|
200
269
|
licenses: []
|
201
|
-
post_install_message: ! '******************************************************************************
|
202
|
-
|
203
270
|
|
271
|
+
post_install_message: |
|
272
|
+
******************************************************************************
|
273
|
+
|
204
274
|
Questions? Comments? Send them along to the mailing list.
|
205
|
-
|
206
275
|
https://groups.google.com/group/webslideshow
|
207
|
-
|
208
|
-
|
276
|
+
|
209
277
|
******************************************************************************
|
210
278
|
|
211
|
-
|
212
|
-
rdoc_options:
|
279
|
+
rdoc_options:
|
213
280
|
- --main
|
214
281
|
- README.markdown
|
215
|
-
require_paths:
|
282
|
+
require_paths:
|
216
283
|
- lib
|
217
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
284
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
218
285
|
none: false
|
219
|
-
requirements:
|
220
|
-
- -
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
|
223
|
-
|
286
|
+
requirements:
|
287
|
+
- - ">="
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
hash: 3
|
290
|
+
segments:
|
291
|
+
- 0
|
292
|
+
version: "0"
|
293
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
294
|
none: false
|
225
|
-
requirements:
|
226
|
-
- -
|
227
|
-
- !ruby/object:Gem::Version
|
228
|
-
|
295
|
+
requirements:
|
296
|
+
- - ">="
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
hash: 3
|
299
|
+
segments:
|
300
|
+
- 0
|
301
|
+
version: "0"
|
229
302
|
requirements: []
|
303
|
+
|
230
304
|
rubyforge_project: slideshow
|
231
|
-
rubygems_version: 1.8.
|
305
|
+
rubygems_version: 1.8.24
|
232
306
|
signing_key:
|
233
307
|
specification_version: 3
|
234
308
|
summary: Slide Show (S9) - A Free Web Alternative to PowerPoint and Keynote in Ruby
|
235
309
|
test_files: []
|
310
|
+
|