combustion 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/HISTORY +3 -0
- data/README.textile +0 -1
- data/bin/combust +7 -0
- data/combustion.gemspec +1 -0
- data/lib/combustion/generator.rb +28 -0
- data/lib/combustion/version.rb +1 -1
- data/templates/config.ru +7 -0
- data/templates/database.yml +3 -0
- data/templates/routes.rb +3 -0
- data/templates/schema.rb +3 -0
- metadata +23 -5
data/HISTORY
CHANGED
data/README.textile
CHANGED
@@ -119,7 +119,6 @@ Contributions are very much welcome - but keep in mind the following:
|
|
119
119
|
|
120
120
|
* Keep patches in a separate branch
|
121
121
|
* Don't mess with the version or history file. I'll take care of that when the patch is merged in.
|
122
|
-
* Write tests - look at the existing tests (particularly in @spec/acceptance@)
|
123
122
|
|
124
123
|
There are no tests - partly because Combustion was extracted out from the tests of HyperTiny's Dobro, and partly because there's not much code. Still, if you can find a clean way of testing this, that'd be fantastic.
|
125
124
|
|
data/bin/combust
ADDED
data/combustion.gemspec
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'thor/group'
|
2
|
+
|
3
|
+
class Combustion::Generator < Thor::Group
|
4
|
+
include Thor::Actions
|
5
|
+
|
6
|
+
def self.source_root
|
7
|
+
File.expand_path File.join(File.dirname(__FILE__), '..', '..')
|
8
|
+
end
|
9
|
+
|
10
|
+
def create_directories
|
11
|
+
empty_directory 'spec/internal'
|
12
|
+
empty_directory 'spec/internal/config'
|
13
|
+
empty_directory 'spec/internal/db'
|
14
|
+
empty_directory 'spec/internal/log'
|
15
|
+
empty_directory 'spec/internal/public'
|
16
|
+
end
|
17
|
+
|
18
|
+
def create_files
|
19
|
+
template 'templates/routes.rb', 'spec/internal/config/routes.rb'
|
20
|
+
template 'templates/database.yml', 'spec/internal/config/database.yml'
|
21
|
+
template 'templates/schema.rb', 'spec/internal/db/schema.rb'
|
22
|
+
template 'templates/config.ru', 'config.ru'
|
23
|
+
create_file 'spec/internal/public/favicon.ico'
|
24
|
+
create_file 'spec/internal/log/.gitignore' do
|
25
|
+
'*.log'
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
data/lib/combustion/version.rb
CHANGED
data/templates/config.ru
ADDED
data/templates/routes.rb
ADDED
data/templates/schema.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: combustion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-09-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156512840 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,11 +21,23 @@ dependencies:
|
|
21
21
|
version: 3.1.0.rc5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156512840
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: thor
|
27
|
+
requirement: &2156511640 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.14.6
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2156511640
|
25
36
|
description: Test your Rails Engines without needing a full Rails app
|
26
37
|
email:
|
27
38
|
- pat@freelancing-gods.com
|
28
|
-
executables:
|
39
|
+
executables:
|
40
|
+
- combust
|
29
41
|
extensions: []
|
30
42
|
extra_rdoc_files: []
|
31
43
|
files:
|
@@ -35,10 +47,16 @@ files:
|
|
35
47
|
- LICENCE
|
36
48
|
- README.textile
|
37
49
|
- Rakefile
|
50
|
+
- bin/combust
|
38
51
|
- combustion.gemspec
|
39
52
|
- lib/combustion.rb
|
40
53
|
- lib/combustion/application.rb
|
54
|
+
- lib/combustion/generator.rb
|
41
55
|
- lib/combustion/version.rb
|
56
|
+
- templates/config.ru
|
57
|
+
- templates/database.yml
|
58
|
+
- templates/routes.rb
|
59
|
+
- templates/schema.rb
|
42
60
|
homepage: ''
|
43
61
|
licenses: []
|
44
62
|
post_install_message:
|