medea-generators 0.1.0 → 0.2.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.
|
@@ -29,13 +29,8 @@ module Medea
|
|
|
29
29
|
def init_jasondb
|
|
30
30
|
#we can't create the topic, but we can create database.yml
|
|
31
31
|
template "database.yml", "config/database.yml"
|
|
32
|
+
template "jasondb.rb", "config/initializers/jasondb.rb"
|
|
32
33
|
|
|
33
|
-
# #we will also deploy templates at this point.
|
|
34
|
-
# jason_base = "http://#{@user}:#{@pass}@rest.jason.com/"
|
|
35
|
-
# topics = [@topic, "#{@topic}-dev", "#{@topic}-test"]
|
|
36
|
-
# for t in topics
|
|
37
|
-
# Medea::setup_templates "#{jason_base}#{t}/"
|
|
38
|
-
# end
|
|
39
34
|
end
|
|
40
35
|
end
|
|
41
36
|
end
|
data/medea-generators.gemspec
CHANGED
metadata
CHANGED
|
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
|
4
4
|
prerelease: false
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
|
-
-
|
|
7
|
+
- 2
|
|
8
8
|
- 0
|
|
9
|
-
version: 0.
|
|
9
|
+
version: 0.2.0
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Michael Jensen
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-01-
|
|
17
|
+
date: 2011-01-19 00:00:00 +11:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -64,6 +64,7 @@ files:
|
|
|
64
64
|
- lib/generators/medea.rb
|
|
65
65
|
- lib/generators/medea/init/init_generator.rb
|
|
66
66
|
- lib/generators/medea/init/templates/database.yml
|
|
67
|
+
- lib/generators/medea/init/templates/jasondb.rb
|
|
67
68
|
- lib/generators/medea/scaffold/USAGE
|
|
68
69
|
- lib/generators/medea/scaffold/scaffold_generator.rb
|
|
69
70
|
- lib/generators/medea/scaffold/templates/actions/create.rb
|