groove 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/README.md +1 -11
  2. data/Rakefile +1 -0
  3. data/VERSION +1 -1
  4. data/bin/groove +8 -0
  5. data/groove.gemspec +4 -1
  6. metadata +11 -1
data/README.md CHANGED
@@ -8,6 +8,7 @@ Usage
8
8
 
9
9
  groove weekapaug
10
10
 
11
+ create weekapaug/.gems
11
12
  create weekapaug/config.ru
12
13
  create weekapaug/app.rb
13
14
  create weekapaug/templates/index.html
@@ -15,17 +16,6 @@ groove weekapaug
15
16
 
16
17
  cd weekapaug
17
18
 
18
- cat config.ru
19
-
20
- require 'groove'
21
- Groove.config = { :db => ENV['DATABASE'] || 'weekapaug',
22
- :db_url => ENV['DATABASE_URL'] || 'localhost',
23
- :db_user => ENV['DATABASE_USER'],
24
- :db_password => ENV['DATABASE_PASSWORD'],
25
- :hoptoad => ENV['HOPTOAD'] }
26
- require 'app'
27
- run Sinatra::Application
28
-
29
19
  cat app.rb
30
20
 
31
21
  get '/' do
data/Rakefile CHANGED
@@ -12,6 +12,7 @@ Jeweler::Tasks.new do |gem|
12
12
 
13
13
  gem.add_dependency('sinatra')
14
14
  gem.add_dependency('mongo')
15
+ gem.add_dependency('mongo_ext')
15
16
  gem.add_dependency('effigy')
16
17
  gem.add_dependency('rack_hoptoad')
17
18
  gem.add_dependency('x')
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/bin/groove CHANGED
@@ -8,6 +8,14 @@ class Groove < Thor::Group
8
8
 
9
9
  argument :name
10
10
 
11
+ def create_dotfile
12
+ create_file("#{name}/.gems") do
13
+ <<-RUBY
14
+ groove
15
+ RUBY
16
+ end
17
+ end
18
+
11
19
  def create_rackup
12
20
  create_file("#{name}/config.ru") do
13
21
  <<-RUBY
data/groove.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{groove}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Croak"]
@@ -44,6 +44,7 @@ Gem::Specification.new do |s|
44
44
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
45
45
  s.add_runtime_dependency(%q<sinatra>, [">= 0"])
46
46
  s.add_runtime_dependency(%q<mongo>, [">= 0"])
47
+ s.add_runtime_dependency(%q<mongo_ext>, [">= 0"])
47
48
  s.add_runtime_dependency(%q<effigy>, [">= 0"])
48
49
  s.add_runtime_dependency(%q<rack_hoptoad>, [">= 0"])
49
50
  s.add_runtime_dependency(%q<x>, [">= 0"])
@@ -51,6 +52,7 @@ Gem::Specification.new do |s|
51
52
  else
52
53
  s.add_dependency(%q<sinatra>, [">= 0"])
53
54
  s.add_dependency(%q<mongo>, [">= 0"])
55
+ s.add_dependency(%q<mongo_ext>, [">= 0"])
54
56
  s.add_dependency(%q<effigy>, [">= 0"])
55
57
  s.add_dependency(%q<rack_hoptoad>, [">= 0"])
56
58
  s.add_dependency(%q<x>, [">= 0"])
@@ -59,6 +61,7 @@ Gem::Specification.new do |s|
59
61
  else
60
62
  s.add_dependency(%q<sinatra>, [">= 0"])
61
63
  s.add_dependency(%q<mongo>, [">= 0"])
64
+ s.add_dependency(%q<mongo_ext>, [">= 0"])
62
65
  s.add_dependency(%q<effigy>, [">= 0"])
63
66
  s.add_dependency(%q<rack_hoptoad>, [">= 0"])
64
67
  s.add_dependency(%q<x>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groove
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Croak
@@ -32,6 +32,16 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: "0"
34
34
  version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: mongo_ext
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ version:
35
45
  - !ruby/object:Gem::Dependency
36
46
  name: effigy
37
47
  type: :runtime