hazel 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,8 +1,8 @@
1
- source :rubygems
1
+ source 'https://rubygems.org/'
2
2
 
3
3
  gemspec
4
4
 
5
5
  group :development do
6
- gem "rake", "~> 0.9"
6
+ gem "rake", "~> 10.0"
7
7
  gem "fakefs", "~> 0.4"
8
8
  end
@@ -1,21 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hazel (0.0.6)
5
- thor (~> 0.16)
4
+ hazel (0.0.7)
5
+ thor (~> 0.17)
6
6
 
7
7
  GEM
8
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
9
9
  specs:
10
- minitest (4.2.0)
11
- rake (0.9.2.2)
12
- thor (0.16.0)
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.2)
19
+ bundler (~> 1.3)
20
+ fakefs (~> 0.4)
19
21
  hazel!
20
- minitest (~> 4.2)
21
- rake (~> 0.9)
22
+ minitest (~> 4.6)
23
+ rake (~> 10.0)
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Peter Hellberg
1
+ Copyright (c) 2013 Peter Hellberg
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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) 2012 Peter Hellberg
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
@@ -2,7 +2,7 @@ module Hazel
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 6
5
+ TINY = 7
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1,4 +1,4 @@
1
- source :rubygems
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.6"
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.9"
32
- gem "minitest", "~> 4.2"
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.13"
35
+ gem "capistrano", "~> 2.14"
36
36
  gem "capistrano-ext", "~> 1.2"
37
37
  <% if @rvm_gemset -%>
38
38
  gem "rvm-capistrano", "~> 1.2"
@@ -1,4 +1,5 @@
1
1
  <% unless @no_database -%>
2
+ require "yaml"
2
3
  settings = YAML::load_file("config/db.yml")
3
4
  <% if @database != 'mongo' -%>
4
5
  # Sequel Configuration
@@ -1,3 +1,5 @@
1
+ require "yaml"
2
+
1
3
  # Redis Configuration
2
4
  unless ENV['RACK_ENV'] == 'test'
3
5
  redis_settings = YAML::load_file("config/redis.yml")
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.6
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: 2012-11-11 00:00:00.000000000 Z
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.16'
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.16'
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.2'
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.2'
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.2'
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.2'
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: 1.8.24
117
+ rubygems_version: 2.0.2
126
118
  signing_key:
127
- specification_version: 3
119
+ specification_version: 4
128
120
  summary: A simple Sinatra app generator.
129
121
  test_files: []
130
122
  has_rdoc: