yard-nowpunk 0.2.26 → 0.2.27
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/Gemfile.lock +2 -0
- data/VERSION +1 -1
- data/lib/yard-nowpunk.rb +1 -2
- data/yard-nowpunk.gemspec +4 -1
- metadata +18 -2
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.27
|
data/lib/yard-nowpunk.rb
CHANGED
@@ -3,9 +3,8 @@
|
|
3
3
|
# TODO (farleyknight@gmail.com): Rename this to yard-github
|
4
4
|
class YARD::Nowpunk
|
5
5
|
class << self
|
6
|
-
# TODO (farleyknight@gmail.com): Possibly use git gem to grab this value.
|
7
6
|
def parse_github_url_from_git_config
|
8
|
-
|
7
|
+
Git.open(Dir.pwd).config["remote.origin.url"].gsub("git://", "").gsub("git@", "")
|
9
8
|
end
|
10
9
|
|
11
10
|
def project_name
|
data/yard-nowpunk.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "yard-nowpunk"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.27"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Farley Knight"]
|
@@ -45,15 +45,18 @@ Gem::Specification.new do |s|
|
|
45
45
|
s.specification_version = 3
|
46
46
|
|
47
47
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
48
|
+
s.add_runtime_dependency(%q<ruby-git>, [">= 0"])
|
48
49
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
49
50
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
50
51
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
51
52
|
else
|
53
|
+
s.add_dependency(%q<ruby-git>, [">= 0"])
|
52
54
|
s.add_dependency(%q<yard>, [">= 0"])
|
53
55
|
s.add_dependency(%q<bundler>, [">= 0"])
|
54
56
|
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
55
57
|
end
|
56
58
|
else
|
59
|
+
s.add_dependency(%q<ruby-git>, [">= 0"])
|
57
60
|
s.add_dependency(%q<yard>, [">= 0"])
|
58
61
|
s.add_dependency(%q<bundler>, [">= 0"])
|
59
62
|
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yard-nowpunk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.27
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,6 +11,22 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: ruby-git
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
14
30
|
- !ruby/object:Gem::Dependency
|
15
31
|
name: yard
|
16
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
115
|
version: '0'
|
100
116
|
segments:
|
101
117
|
- 0
|
102
|
-
hash:
|
118
|
+
hash: 667567213909708679
|
103
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
120
|
none: false
|
105
121
|
requirements:
|