gem_hadar 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/gem_hadar.gemspec +5 -5
- data/lib/gem_hadar.rb +4 -2
- data/lib/gem_hadar/version.rb +1 -1
- metadata +7 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/gem_hadar.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{gem_hadar}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Florian Frank"]
|
9
|
-
s.date = %q{2011-07-
|
9
|
+
s.date = %q{2011-07-16}
|
10
10
|
s.description = %q{This library contains some useful functionality to support the development of Ruby Gems}
|
11
11
|
s.email = %q{flori@ping.de}
|
12
12
|
s.extra_rdoc_files = ["README.rdoc"]
|
@@ -21,14 +21,14 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.specification_version = 3
|
22
22
|
|
23
23
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
24
|
-
s.add_development_dependency(%q<gem_hadar>, ["~> 0.0.
|
24
|
+
s.add_development_dependency(%q<gem_hadar>, ["~> 0.0.2"])
|
25
25
|
s.add_runtime_dependency(%q<spruz>, ["~> 0.2.10"])
|
26
26
|
s.add_runtime_dependency(%q<dslkit>, ["~> 0.2.6"])
|
27
27
|
s.add_runtime_dependency(%q<sdoc>, ["~> 0.2.20"])
|
28
28
|
s.add_runtime_dependency(%q<rcov>, ["~> 0.9.9"])
|
29
29
|
s.add_runtime_dependency(%q<rake>, ["~> 0.9.2"])
|
30
30
|
else
|
31
|
-
s.add_dependency(%q<gem_hadar>, ["~> 0.0.
|
31
|
+
s.add_dependency(%q<gem_hadar>, ["~> 0.0.2"])
|
32
32
|
s.add_dependency(%q<spruz>, ["~> 0.2.10"])
|
33
33
|
s.add_dependency(%q<dslkit>, ["~> 0.2.6"])
|
34
34
|
s.add_dependency(%q<sdoc>, ["~> 0.2.20"])
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
|
|
36
36
|
s.add_dependency(%q<rake>, ["~> 0.9.2"])
|
37
37
|
end
|
38
38
|
else
|
39
|
-
s.add_dependency(%q<gem_hadar>, ["~> 0.0.
|
39
|
+
s.add_dependency(%q<gem_hadar>, ["~> 0.0.2"])
|
40
40
|
s.add_dependency(%q<spruz>, ["~> 0.2.10"])
|
41
41
|
s.add_dependency(%q<dslkit>, ["~> 0.2.6"])
|
42
42
|
s.add_dependency(%q<sdoc>, ["~> 0.2.20"])
|
data/lib/gem_hadar.rb
CHANGED
@@ -83,6 +83,8 @@ class GemHadar
|
|
83
83
|
|
84
84
|
dsl_accessor :path_name do name end
|
85
85
|
|
86
|
+
dsl_accessor :path_module do name.camelize end
|
87
|
+
|
86
88
|
dsl_accessor :version do
|
87
89
|
begin
|
88
90
|
File.read('VERSION').chomp
|
@@ -192,8 +194,8 @@ class GemHadar
|
|
192
194
|
mkdir_p dir = File.join('lib', path_name)
|
193
195
|
File.write(File.join(dir, 'version.rb')) do |v|
|
194
196
|
v.puts <<EOT
|
195
|
-
#{module_type} #{
|
196
|
-
# #{
|
197
|
+
#{module_type} #{path_module}
|
198
|
+
# #{path_module} version
|
197
199
|
VERSION = '#{version}'
|
198
200
|
VERSION_ARRAY = VERSION.split(/\\./).map { |x| x.to_i } # :nodoc:
|
199
201
|
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
data/lib/gem_hadar/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem_hadar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Florian Frank
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-07-
|
18
|
+
date: 2011-07-16 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 27
|
30
30
|
segments:
|
31
31
|
- 0
|
32
32
|
- 0
|
33
|
-
-
|
34
|
-
version: 0.0.
|
33
|
+
- 2
|
34
|
+
version: 0.0.2
|
35
35
|
type: :development
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|