configuration 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Rakefile +8 -3
- data/configuration.gemspec +3 -2
- data/lib/configuration.rb +5 -1
- metadata +8 -9
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NjA1ZjIxMjM1NTdiZDU2MmMwM2QwNzE0OGU1MWQ1NDI3MDA5NWYzMg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
M2NkMzRkNGY0MjJmNjJiOWM3OGQzYmY5YWUyZTlhMTgyOGFjZTQ1Zg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDY3NWM4ZDI4ZWU4MGVjY2IxYTJjZGIyZDFkYjQxOGIzYTJlMTdlZjYwMzZh
|
10
|
+
ZjRjMjQ1YjUyNjdhZmQ5Y2ZmNWVmMDJjMWJjZjllZDRkOTgxZWU1NzdhMDhh
|
11
|
+
Y2QzMDA4MGRiZTQwNjAyYTBlYWE1ZjBmYzAwMTJmYWU2MzlhMDM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTZiYjhiMjkxMTQwMmJkNWVhZDNiMWM5YTAzY2IyZjQxZTE1MDcyZWQwMTRl
|
14
|
+
MzE0NDMwMTc4MjIyZjJmNWQwYzFmNTA2YWE2ZTNiNzJiYzY2ZTEyNDIxYzk5
|
15
|
+
ZGQ0M2MyYmIyNTg3Zjg0YTQwYjNhNTZhODJmMTJlZmQxMjBlMTk=
|
data/Rakefile
CHANGED
@@ -3,6 +3,9 @@ This.author = "Ara T. Howard"
|
|
3
3
|
This.email = "ara.t.howard@gmail.com"
|
4
4
|
This.homepage = "https://github.com/ahoward/#{ This.lib }"
|
5
5
|
|
6
|
+
task :license do
|
7
|
+
open('LICENSE', 'w'){|fd| fd.puts "same as ruby's"}
|
8
|
+
end
|
6
9
|
|
7
10
|
task :default do
|
8
11
|
puts((Rake::Task.tasks.map{|task| task.name.gsub(/::/,':')} - ['default']).sort)
|
@@ -29,7 +32,7 @@ def run_tests!(which = nil)
|
|
29
32
|
|
30
33
|
test_rbs.each_with_index do |test_rb, index|
|
31
34
|
testno = index + 1
|
32
|
-
command = "#{ This.ruby } -I ./lib -I ./test/lib #{ test_rb }"
|
35
|
+
command = "#{ This.ruby } -w -I ./lib -I ./test/lib #{ test_rb }"
|
33
36
|
|
34
37
|
puts
|
35
38
|
say(div, :color => :cyan, :bold => true)
|
@@ -90,6 +93,7 @@ task :gemspec do
|
|
90
93
|
test_files = "test/#{ lib }.rb" if File.file?("test/#{ lib }.rb")
|
91
94
|
summary = object.respond_to?(:summary) ? object.summary : "summary: #{ lib } kicks the ass"
|
92
95
|
description = object.respond_to?(:description) ? object.description : "description: #{ lib } kicks the ass"
|
96
|
+
license = object.respond_to?(:license) ? object.license : "same as ruby's"
|
93
97
|
|
94
98
|
if This.extensions.nil?
|
95
99
|
This.extensions = []
|
@@ -115,6 +119,7 @@ task :gemspec do
|
|
115
119
|
spec.platform = Gem::Platform::RUBY
|
116
120
|
spec.summary = #{ lib.inspect }
|
117
121
|
spec.description = #{ description.inspect }
|
122
|
+
spec.license = #{ license.inspect }
|
118
123
|
|
119
124
|
spec.files =\n#{ files.sort.pretty_inspect }
|
120
125
|
spec.executables = #{ executables.inspect }
|
@@ -175,8 +180,8 @@ task :readme do
|
|
175
180
|
end
|
176
181
|
|
177
182
|
template =
|
178
|
-
if test(?e, '
|
179
|
-
Template{ IO.read('
|
183
|
+
if test(?e, 'README.erb')
|
184
|
+
Template{ IO.read('README.erb') }
|
180
185
|
else
|
181
186
|
Template {
|
182
187
|
<<-__
|
data/configuration.gemspec
CHANGED
@@ -3,10 +3,11 @@
|
|
3
3
|
|
4
4
|
Gem::Specification::new do |spec|
|
5
5
|
spec.name = "configuration"
|
6
|
-
spec.version = "1.3.
|
6
|
+
spec.version = "1.3.3"
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "configuration"
|
9
|
-
spec.description = "
|
9
|
+
spec.description = "ruby configuration for your ruby programs"
|
10
|
+
spec.license = "same as ruby's"
|
10
11
|
|
11
12
|
spec.files =
|
12
13
|
["LICENSE",
|
data/lib/configuration.rb
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
class Configuration
|
2
|
-
Configuration::Version = '1.3.
|
2
|
+
Configuration::Version = '1.3.3'
|
3
3
|
def Configuration.version() Configuration::Version end
|
4
4
|
|
5
|
+
def Configuration.description
|
6
|
+
'ruby configuration for your ruby programs'
|
7
|
+
end
|
8
|
+
|
5
9
|
Path = [
|
6
10
|
if defined? CONFIGURATION_PATH
|
7
11
|
CONFIGURATION_PATH
|
metadata
CHANGED
@@ -1,17 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configuration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ara T. Howard
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-02-15 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
|
-
description:
|
13
|
+
description: ruby configuration for your ruby programs
|
15
14
|
email: ara.t.howard@gmail.com
|
16
15
|
executables: []
|
17
16
|
extensions: []
|
@@ -36,27 +35,27 @@ files:
|
|
36
35
|
- samples/f.rb
|
37
36
|
- test/overwrite_test.rb
|
38
37
|
homepage: https://github.com/ahoward/configuration
|
39
|
-
licenses:
|
38
|
+
licenses:
|
39
|
+
- same as ruby's
|
40
|
+
metadata: {}
|
40
41
|
post_install_message:
|
41
42
|
rdoc_options: []
|
42
43
|
require_paths:
|
43
44
|
- lib
|
44
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
46
|
requirements:
|
47
47
|
- - ! '>='
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: '0'
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
51
|
requirements:
|
53
52
|
- - ! '>='
|
54
53
|
- !ruby/object:Gem::Version
|
55
54
|
version: '0'
|
56
55
|
requirements: []
|
57
56
|
rubyforge_project: codeforpeople
|
58
|
-
rubygems_version:
|
57
|
+
rubygems_version: 2.0.3
|
59
58
|
signing_key:
|
60
|
-
specification_version:
|
59
|
+
specification_version: 4
|
61
60
|
summary: configuration
|
62
61
|
test_files: []
|