slide-em-up 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/slide-em-up +14 -0
- data/lib/slide-em-up/version.rb +1 -1
- metadata +4 -3
data/bin/slide-em-up
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "slide-em-up"
|
4
|
+
require "goliath/runner"
|
5
|
+
|
6
|
+
|
7
|
+
presentation = SlideEmUp::Presentation.new(Dir.pwd)
|
8
|
+
|
9
|
+
runner = Goliath::Runner.new(ARGV, nil)
|
10
|
+
runner.app = Rack::Builder.new do
|
11
|
+
map '/slides' do run SlideEmUp::SlidesAPI.new(presentation) end
|
12
|
+
map '/' do run SlideEmUp::AssetsAPI.new(presentation) end
|
13
|
+
end
|
14
|
+
runner.run
|
data/lib/slide-em-up/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slide-em-up
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bruno Michel
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- MIT-LICENSE
|
106
106
|
- README.md
|
107
107
|
- Gemfile
|
108
|
+
- bin/slide-em-up
|
108
109
|
- lib/slide-em-up.rb
|
109
110
|
- lib/slide-em-up/slides_api.rb
|
110
111
|
- lib/slide-em-up/assets_api.rb
|