hyper 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hyper/generator.rb +1 -1
- data/lib/hyper/version.rb +1 -1
- data/template/Gemfile +1 -0
- data/template/config.ru +11 -0
- data/template/lib/helper.rb +3 -0
- data/template/public/stylesheets/default.css +0 -0
- data/template/templates/layout.html.erb +9 -0
- data/template/templates/views/index.html.erb +1 -0
- metadata +10 -4
data/lib/hyper/generator.rb
CHANGED
@@ -5,7 +5,7 @@ module Hyper
|
|
5
5
|
include Term::ANSIColor
|
6
6
|
|
7
7
|
# Path to template directory
|
8
|
-
TEMPLATE_PATH = File.expand_path(File.dirname(__FILE__) + '/../../template')
|
8
|
+
TEMPLATE_PATH = File.expand_path(File.dirname(__FILE__) + '/../../template')
|
9
9
|
|
10
10
|
def initialize(name, options = {})
|
11
11
|
@name = name
|
data/lib/hyper/version.rb
CHANGED
data/template/Gemfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gem 'hyper'
|
data/template/config.ru
ADDED
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>Find me in <%= __FILE__ -%></p>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 3
|
10
|
+
version: 0.4.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Wilding
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-11 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rack
|
@@ -92,6 +92,12 @@ files:
|
|
92
92
|
- lib/hyper/utils.rb
|
93
93
|
- lib/hyper/version.rb
|
94
94
|
- lib/hyper.rb
|
95
|
+
- template/config.ru
|
96
|
+
- template/Gemfile
|
97
|
+
- template/lib/helper.rb
|
98
|
+
- template/public/stylesheets/default.css
|
99
|
+
- template/templates/layout.html.erb
|
100
|
+
- template/templates/views/index.html.erb
|
95
101
|
- README.md
|
96
102
|
- bin/hyper
|
97
103
|
homepage: http://github.com/jameswilding/hyper
|