rag 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -85,6 +85,14 @@ local variables in erb file are from ~/.ragrc and APP/.ragrc
85
85
 
86
86
  default template see {file:template/default.readme}
87
87
 
88
+ Contributing
89
+ -------------
90
+
91
+ * report bugs/featues to issue tracker.
92
+ * fork it and pull a request.
93
+ * improve documentation.
94
+ * feel free to post any ideas.
95
+
88
96
  Install
89
97
  ----------
90
98
 
data/bin/rag CHANGED
@@ -1,6 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
+ ENV["BUNDLE_GEMFILE"] = File.join(File.dirname(__FILE__), '../Gemfile')
3
+
2
4
  require_relative "../lib/rag"
3
5
 
6
+
4
7
  # default plugin
5
8
  require_relative "../lib/rag/new"
6
9
  require_relative "../lib/rag/gem"
@@ -1,7 +1,7 @@
1
1
  source :rubygems
2
2
 
3
3
  group :development do
4
-
4
+ gem 'rag'
5
5
  end
6
6
 
7
7
  gemspec
@@ -22,6 +22,14 @@ Usage
22
22
 
23
23
  how to use
24
24
 
25
+ Contributing
26
+ -------------
27
+
28
+ * report bugs/featues to issue tracker.
29
+ * fork it and pull a request.
30
+ * improve documentation.
31
+ * feel free to post any ideas.
32
+
25
33
  Install
26
34
  ----------
27
35
 
@@ -32,7 +40,6 @@ Resources
32
40
 
33
41
  some related resources to help each other.
34
42
 
35
-
36
43
  Copyright
37
44
  ---------
38
45
  Copyright &copy; 2011 by <%=author%>. this library released under <%=license%>, See {file:LICENSE} for futher details.
@@ -16,5 +16,5 @@ a good lib
16
16
 
17
17
  s.files = `git ls-files`.split("\n")
18
18
 
19
- s.add_dependency "x"
19
+ #s.add_dependency "x"
20
20
  end
data/lib/rag.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require "bundler/setup"
2
- require "thor"
3
- require "tagen/core"
2
+ Bundler.require :default
4
3
 
5
4
  class Rag < Thor
6
5
  end
@@ -43,7 +43,7 @@ class Project
43
43
  def initialize name, o={}
44
44
  @name = name
45
45
  @options = o
46
- @project = name=="." ? (o["name"] || Pa.pwd2.base) : name
46
+ @project = o["name"] ? o["name"] : (name=="." ? Pa.pwd2.base : name)
47
47
  @dest = Pa(@name)
48
48
  end
49
49
 
data/version.rb CHANGED
@@ -2,7 +2,7 @@ class Rag
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  IS = [MAJOR, MINOR, PATCH].join(".")
8
8
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Guten
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-26 00:00:00 +08:00
17
+ date: 2011-03-29 00:00:00 +08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency