maml 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ pkg
2
+ doc
3
+ Manifest
data/Rakefile CHANGED
@@ -1,14 +1,19 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
- require 'echoe'
4
3
 
5
- Echoe.new("maml", "0.1.1") do |p|
6
- p.description = "Modeling Apathy Markup Language"
7
- p.url = "http://github.com/vanweerd/maml"
8
- p.author = "Nick Van Weerdenburg"
9
- p.email = "nick@gmail.com"
10
- p.ignore_pattern = ["tmp/*", "script/*"]
11
- p.development_dependencies = []
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gemspec|
7
+ gemspec.name = "maml"
8
+ gemspec.summary = "Migration Apathy Markup Language"
9
+ gemspec.description = "MAML, also know as LazyMAML is a terser means for initially modeling your rails app. The MAML yml file is processed, and the rails migration generator called, with arguments being passed through for scaffold, model, controller, haml, etc. as desired."
10
+ gemspec.email = "vanweerd@gmail.com"
11
+ gemspec.homepage = "http://github.com/vanweerd/maml"
12
+ gemspec.authors = ["Nick Van Weerdenburg"]
13
+ end
14
+ Jeweler::GemcutterTasks.new
15
+ rescue LoadError
16
+ puts "Jeweler not available. Install it with: sudo gem install jeweler"
12
17
  end
13
18
 
14
19
  Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each{|ext| load ext}
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.3
@@ -146,10 +146,14 @@ def main
146
146
  puts "Visit http://lazymaml.org for more details"
147
147
  puts "Copyright 2009 Zigelo and Nick Van Weerdenburg, Licensed under MIT License\n\n"
148
148
  puts "usage: maml.rb <filename> [-generate_command]"
149
+ puts "runs trial by default, add -go for rails generation"
149
150
  puts "e.g. maml.rb blog.yml -scaffold"
150
151
  puts "OR"
152
+ puts "e.g. maml.rb blog.yml -scaffold -go"
153
+ puts "OR"
151
154
  puts "usage: maml.rb"
152
155
  puts "(defaults to 'maml.yml' file and generating the model)\n\n"
156
+ puts "use ---haml or similar for adding extra commands. -<anything> is passed to the command-line minus the -"
153
157
  puts "maml supports one file at time"
154
158
  puts "generated files are in <rails_root>/maml"
155
159
  puts "\nSpecify field type by symbol prefix as follows:"
Binary file
Binary file
@@ -1,37 +1,49 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
1
4
  # -*- encoding: utf-8 -*-
2
5
 
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{maml}
5
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
6
9
 
7
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
11
  s.authors = ["Nick Van Weerdenburg"]
9
- s.date = %q{2009-12-03}
10
- s.description = %q{Modeling Apathy Markup Language}
11
- s.email = %q{nick@gmail.com}
12
- s.extra_rdoc_files = ["CHANGELOG", "lib/maml.rb", "LICENSE", "README.rdoc"]
13
- s.files = ["CHANGELOG", "gem_notes", "init.rb", "bin/maml", "lib/maml.rb", "LICENSE", "maml.gemspec", "maml.yml", "maml_spec.txt", "Manifest", "Rakefile", "README.rdoc"]
14
- s.has_rdoc = true
12
+ s.date = %q{2009-12-04}
13
+ s.default_executable = %q{maml}
14
+ s.description = %q{MAML, also know as LazyMAML is a terser means for initially modeling your rails app. The MAML yml file is processed, and the rails migration generator called, with arguments being passed through for scaffold, model, controller, haml, etc. as desired.}
15
+ s.email = %q{vanweerd@gmail.com}
16
+ s.executables = ["maml"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".gitignore",
23
+ "CHANGELOG",
24
+ "LICENSE",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "bin/maml",
29
+ "gem_notes",
30
+ "init.rb",
31
+ "lib/maml.rb",
32
+ "maml-0.1.1.gem",
33
+ "maml-0.1.2.gem",
34
+ "maml.gemspec",
35
+ "maml.yml",
36
+ "maml_spec.txt"
37
+ ]
15
38
  s.homepage = %q{http://github.com/vanweerd/maml}
16
-
17
- s.post_install_message = %q{**************************************************
18
-
19
- Thank you for installing maml-0.1.1
20
-
21
- Run "maml" by itself on the command line for documentation.
22
-
23
- **************************************************
24
- }
25
-
26
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Maml", "--main", "README.rdoc"]
39
+ s.rdoc_options = ["--charset=UTF-8"]
27
40
  s.require_paths = ["lib"]
28
- s.rubyforge_project = %q{maml}
29
41
  s.rubygems_version = %q{1.3.5}
30
- s.summary = %q{Modeling Apathy Markup Language}
42
+ s.summary = %q{Migration Apathy Markup Language}
31
43
 
32
44
  if s.respond_to? :specification_version then
33
45
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
34
- s.specification_version = 2
46
+ s.specification_version = 3
35
47
 
36
48
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
37
49
  else
@@ -39,3 +51,4 @@ Gem::Specification.new do |s|
39
51
  else
40
52
  end
41
53
  end
54
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Van Weerdenburg
@@ -9,54 +9,42 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-03 00:00:00 -05:00
13
- default_executable:
12
+ date: 2009-12-04 00:00:00 -05:00
13
+ default_executable: maml
14
14
  dependencies: []
15
15
 
16
- description: Modeling Apathy Markup Language
17
- email: nick@gmail.com
18
- executables: []
19
-
16
+ description: MAML, also know as LazyMAML is a terser means for initially modeling your rails app. The MAML yml file is processed, and the rails migration generator called, with arguments being passed through for scaffold, model, controller, haml, etc. as desired.
17
+ email: vanweerd@gmail.com
18
+ executables:
19
+ - maml
20
20
  extensions: []
21
21
 
22
22
  extra_rdoc_files:
23
- - CHANGELOG
24
- - lib/maml.rb
25
23
  - LICENSE
26
24
  - README.rdoc
27
25
  files:
26
+ - .gitignore
28
27
  - CHANGELOG
28
+ - LICENSE
29
+ - README.rdoc
30
+ - Rakefile
31
+ - VERSION
32
+ - bin/maml
29
33
  - gem_notes
30
34
  - init.rb
31
- - bin/maml
32
35
  - lib/maml.rb
33
- - LICENSE
36
+ - maml-0.1.1.gem
37
+ - maml-0.1.2.gem
34
38
  - maml.gemspec
35
39
  - maml.yml
36
40
  - maml_spec.txt
37
- - Manifest
38
- - Rakefile
39
- - README.rdoc
40
41
  has_rdoc: true
41
42
  homepage: http://github.com/vanweerd/maml
42
43
  licenses: []
43
44
 
44
- post_install_message: |
45
- **************************************************
46
-
47
- Thank you for installing maml-0.1.1
48
-
49
- Run "maml" by itself on the command line for documentation.
50
-
51
- **************************************************
52
-
45
+ post_install_message:
53
46
  rdoc_options:
54
- - --line-numbers
55
- - --inline-source
56
- - --title
57
- - Maml
58
- - --main
59
- - README.rdoc
47
+ - --charset=UTF-8
60
48
  require_paths:
61
49
  - lib
62
50
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -69,14 +57,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
57
  requirements:
70
58
  - - ">="
71
59
  - !ruby/object:Gem::Version
72
- version: "1.2"
60
+ version: "0"
73
61
  version:
74
62
  requirements: []
75
63
 
76
- rubyforge_project: maml
64
+ rubyforge_project:
77
65
  rubygems_version: 1.3.5
78
66
  signing_key:
79
- specification_version: 2
80
- summary: Modeling Apathy Markup Language
67
+ specification_version: 3
68
+ summary: Migration Apathy Markup Language
81
69
  test_files: []
82
70
 
data/Manifest DELETED
@@ -1,12 +0,0 @@
1
- CHANGELOG
2
- echoe_notes
3
- init.rb
4
- lib/maml.rb
5
- LICENSE
6
- maml
7
- maml.gemspec
8
- maml.yml
9
- maml_spec.txt
10
- Manifest
11
- Rakefile
12
- README.rdoc