rag 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/data/template/default/__project__.gemspec.erb +1 -1
- data/data/template/default/{version.rb.erb → lib/__project__/version.rb.erb} +0 -0
- data/data/template/default/lib/__project__.rb.erb +1 -0
- data/lib/rag/gem.rb +2 -1
- data/rag.gemspec +1 -1
- data/version.rb +1 -1
- metadata +5 -5
- data/data/template/default/lib/__project__.rb +0 -0
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
Rag, a project helper
|
2
2
|
=====================
|
3
3
|
|
4
|
-
**Homepage**: [https://github.com/
|
4
|
+
**Homepage**: [https://github.com/GutenYe/rag](https://github.com/GutenYe/rag) <br/>
|
5
5
|
**Author**: Guten <br/>
|
6
6
|
**License**: MIT-LICENSE <br/>
|
7
7
|
**Documentation**: [http://rubydoc.info/gems/rag/frames](http://rubydoc.info/gems/rag/frames) <br/>
|
8
|
-
**Issue Tracker**: [https://github.com/
|
8
|
+
**Issue Tracker**: [https://github.com/GutenYe/rag/issues](https://github.com/GutenYe/rag/issues) <br/>
|
9
9
|
|
10
10
|
Overview
|
11
11
|
--------
|
@@ -109,7 +109,7 @@ or you can write `gem: --no-wrappers` into ~/.gemrc file, then
|
|
109
109
|
Resources
|
110
110
|
---------
|
111
111
|
|
112
|
-
* [gem.vim](https://github.com/
|
112
|
+
* [gem.vim](https://github.com/GutenYe/gem.vim): a project helper for ruby gem/library development
|
113
113
|
* [Hoe](https://github.com/seattlerb/hoe): a rake/rubygems helper for project
|
114
114
|
|
115
115
|
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
require_relative "<%=project%>/version"
|
data/lib/rag/gem.rb
CHANGED
@@ -9,8 +9,9 @@ class Rag < Thor
|
|
9
9
|
|
10
10
|
desc "install", "install this gem to your system"
|
11
11
|
def install
|
12
|
+
sudo = Process.uid == 0 ? "" : "sudo"
|
12
13
|
system "gem build #{Rc.o.project}.gemspec", :verbose
|
13
|
-
system "gem install #{Rc.o.project}-#{Rc.o.version}.gem", :verbose
|
14
|
+
system "#{sudo} gem install #{Rc.o.project}-#{Rc.o.version}.gem", :verbose
|
14
15
|
Pa.rm "#{Rc.o.project}-#{Rc.o.version}.gem", verbose: true
|
15
16
|
end
|
16
17
|
|
data/rag.gemspec
CHANGED
@@ -13,7 +13,7 @@ UPDATE: gem update --no-wrappers rag.
|
|
13
13
|
|
14
14
|
s.author = "Guten"
|
15
15
|
s.email = "ywzhaifei@gmail.com"
|
16
|
-
s.homepage = "http://github.com/
|
16
|
+
s.homepage = "http://github.com/GutenYe/rag"
|
17
17
|
s.rubyforge_project = "xx"
|
18
18
|
|
19
19
|
s.files = `git ls-files`.split("\n")
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Guten
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-07-05 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: tagen
|
@@ -86,9 +86,9 @@ files:
|
|
86
86
|
- data/template/default/Ragfile
|
87
87
|
- data/template/default/__project__.gemspec.erb
|
88
88
|
- data/template/default/__project__.watchr
|
89
|
-
- data/template/default/lib/__project__.rb
|
89
|
+
- data/template/default/lib/__project__.rb.erb
|
90
|
+
- data/template/default/lib/__project__/version.rb.erb
|
90
91
|
- data/template/default/spec/spec_helper.rb.erb
|
91
|
-
- data/template/default/version.rb.erb
|
92
92
|
- data/template/test/file_name.erb
|
93
93
|
- docs/OverView.md
|
94
94
|
- lib/rag.rb
|
@@ -104,7 +104,7 @@ files:
|
|
104
104
|
- spec/rag/new_spec.rb
|
105
105
|
- spec/spec_helper.rb
|
106
106
|
- version.rb
|
107
|
-
homepage: http://github.com/
|
107
|
+
homepage: http://github.com/GutenYe/rag
|
108
108
|
licenses: []
|
109
109
|
|
110
110
|
post_install_message:
|
File without changes
|