hazel 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +11 -9
- data/MIT-LICENSE +1 -1
- data/README.md +2 -1
- data/lib/hazel/version.rb +1 -1
- data/lib/templates/Gemfile +5 -5
- data/lib/templates/config/initializers/database.rb +1 -0
- data/lib/templates/config/initializers/redis.rb +2 -0
- metadata +13 -21
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 476c2c8050f244f6be328c559ee19625c12795a1
|
4
|
+
data.tar.gz: fd4dcc8d2d27ea9ed0c9b467afc349f6fbb4a457
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fccc8651a3af90178da451378b0840d0a5a89055fb4079ad2f6a62c4dc6478013ce6f835ad2265af06515364512f7da84c2702f88e9490371b24167e7fc5c8de
|
7
|
+
data.tar.gz: 6dfd2038ecc138c85d8242656ea8c44371ba9257e39f750fdeae8661bdc11acf4fc47f7a0c981f3c735c4c1b9f7ddc13336e0e1f496413e55b4a18ada9d526f3
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,21 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
hazel (0.0.
|
5
|
-
thor (~> 0.
|
4
|
+
hazel (0.0.7)
|
5
|
+
thor (~> 0.17)
|
6
6
|
|
7
7
|
GEM
|
8
|
-
remote:
|
8
|
+
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
fakefs (0.4.2)
|
11
|
+
minitest (4.6.2)
|
12
|
+
rake (10.0.3)
|
13
|
+
thor (0.17.0)
|
13
14
|
|
14
15
|
PLATFORMS
|
15
16
|
ruby
|
16
17
|
|
17
18
|
DEPENDENCIES
|
18
|
-
bundler (~> 1.
|
19
|
+
bundler (~> 1.3)
|
20
|
+
fakefs (~> 0.4)
|
19
21
|
hazel!
|
20
|
-
minitest (~> 4.
|
21
|
-
rake (~> 0
|
22
|
+
minitest (~> 4.6)
|
23
|
+
rake (~> 10.0)
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -10,6 +10,7 @@ A simple Sinatra app generator, heavily based on [snfn](https://github.com/zachp
|
|
10
10
|
|
11
11
|
## Configuration
|
12
12
|
|
13
|
+
* `--capistrano` Include Capistrano configuration
|
13
14
|
* `-d` Database. Options are "postgres," "mysql," "sqlite", and "mongo."
|
14
15
|
Default is "sqlite."
|
15
16
|
* `--redis` Include Redis configuration options.
|
@@ -60,7 +61,7 @@ and `config/initializers/database.rb`).
|
|
60
61
|
|
61
62
|
## License
|
62
63
|
|
63
|
-
Copyright (c)
|
64
|
+
Copyright (c) 2013 Peter Hellberg
|
64
65
|
|
65
66
|
Permission is hereby granted, free of charge, to any person obtaining
|
66
67
|
a copy of this software and associated documentation files (the
|
data/lib/hazel/version.rb
CHANGED
data/lib/templates/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source
|
1
|
+
source "https://rubygems.org/"
|
2
2
|
|
3
3
|
# App Stack
|
4
4
|
gem "sinatra", "~> 1.3"
|
@@ -15,7 +15,7 @@ gem "pg"
|
|
15
15
|
<% elsif @database == "mysql" -%>
|
16
16
|
gem "mysql2"
|
17
17
|
<% elsif @database == "mongo" -%>
|
18
|
-
gem "bson_ext", "~> 1.
|
18
|
+
gem "bson_ext", "~> 1.8"
|
19
19
|
gem "mongodb_model", "~> 2.1"
|
20
20
|
<% end -%>
|
21
21
|
<% end -%>
|
@@ -28,11 +28,11 @@ gem "fakeredis", "~> 0.4"
|
|
28
28
|
|
29
29
|
<% end -%>
|
30
30
|
group :development do
|
31
|
-
gem "rake", "~> 0
|
32
|
-
gem "minitest", "~> 4.
|
31
|
+
gem "rake", "~> 10.0"
|
32
|
+
gem "minitest", "~> 4.6"
|
33
33
|
gem "rack-test", "~> 0.6"
|
34
34
|
<% if @capistrano -%>
|
35
|
-
gem "capistrano", "~> 2.
|
35
|
+
gem "capistrano", "~> 2.14"
|
36
36
|
gem "capistrano-ext", "~> 1.2"
|
37
37
|
<% if @rvm_gemset -%>
|
38
38
|
gem "rvm-capistrano", "~> 1.2"
|
metadata
CHANGED
@@ -1,64 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hazel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.7
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Peter Hellberg
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-03-07 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: thor
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0.
|
19
|
+
version: '0.17'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
26
|
+
version: '0.17'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: bundler
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '1.
|
33
|
+
version: '1.3'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '1.
|
40
|
+
version: '1.3'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: minitest
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '4.
|
47
|
+
version: '4.6'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '4.
|
54
|
+
version: '4.6'
|
62
55
|
description: Hazel is a generator for Sinatra apps, heavily based on snfn
|
63
56
|
email: peter@c7.se
|
64
57
|
executables:
|
@@ -104,27 +97,26 @@ files:
|
|
104
97
|
homepage: http://c7.github.com/hazel/
|
105
98
|
licenses:
|
106
99
|
- MIT-LICENSE
|
100
|
+
metadata: {}
|
107
101
|
post_install_message:
|
108
102
|
rdoc_options: []
|
109
103
|
require_paths:
|
110
104
|
- lib
|
111
105
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
106
|
requirements:
|
114
|
-
- -
|
107
|
+
- - '>='
|
115
108
|
- !ruby/object:Gem::Version
|
116
109
|
version: '0'
|
117
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
-
none: false
|
119
111
|
requirements:
|
120
|
-
- -
|
112
|
+
- - '>='
|
121
113
|
- !ruby/object:Gem::Version
|
122
114
|
version: '0'
|
123
115
|
requirements: []
|
124
116
|
rubyforge_project:
|
125
|
-
rubygems_version:
|
117
|
+
rubygems_version: 2.0.2
|
126
118
|
signing_key:
|
127
|
-
specification_version:
|
119
|
+
specification_version: 4
|
128
120
|
summary: A simple Sinatra app generator.
|
129
121
|
test_files: []
|
130
122
|
has_rdoc:
|