higml 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile +1 -3
- data/Gemfile.lock +45 -8
- data/Rakefile +0 -10
- data/VERSION +1 -1
- data/higml.gemspec +14 -27
- data/lib/higml/config.rb +6 -3
- metadata +48 -106
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZWU0YTkwN2FiOGFmMTBiMTA5Y2MxZTZhNDMzZDU0OTgwZDBkZTBjYQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZGU5ODE3ZTZhOTYwN2E0MWZiYTk4NTk4NTQ2MDgyNmVlZWI1M2EwYw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZGYzMTZiZTNkZjU3N2U0MDViNTg5MjQ3ZjU5OTgyMzU4ODA2OWQxZDAzMzZj
|
10
|
+
NTg3OGM5ZGM5NDZlMDAzMzRjM2NjNGYyMzA3NjFkODc3Y2EyNzJjM2ZlODBh
|
11
|
+
MzMzY2NlZDRkN2U4MzVhYmYwNTEwMzVmYWI1NTY3Yjc1NzkzMWM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MWEwZDE0NjgzODk5ODJmMmFjMWVjNTY2ODQzZTIzYzI1OGEyMTQxZWM4M2Y5
|
14
|
+
ZmI3ZjAzNzZjNjg3YmQyZjM1MzU3YTQ1ZmQ3ODE5ZDM1ODI0MDdlODMwNTI4
|
15
|
+
ZmRiOWQ2OTc1OWJhZDRjNzMwNDRmMmMwMzdmOTk4NzdmZjY3NTU=
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,20 +1,57 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
addressable (2.3.5)
|
5
|
+
builder (3.2.2)
|
6
|
+
descendants_tracker (0.0.4)
|
7
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
8
|
+
faraday (0.8.4)
|
9
|
+
multipart-post (~> 1.1)
|
10
|
+
git (1.2.6)
|
11
|
+
github_api (0.11.3)
|
12
|
+
addressable (~> 2.3)
|
13
|
+
descendants_tracker (~> 0.0.1)
|
14
|
+
faraday (~> 0.8, < 0.10)
|
15
|
+
hashie (>= 1.2)
|
16
|
+
multi_json (>= 1.7.5, < 2.0)
|
17
|
+
nokogiri (~> 1.6.0)
|
18
|
+
oauth2
|
19
|
+
hashie (1.2.0)
|
20
|
+
highline (1.6.21)
|
21
|
+
httpauth (0.2.0)
|
22
|
+
jeweler (2.0.1)
|
23
|
+
builder
|
24
|
+
bundler (>= 1.0)
|
7
25
|
git (>= 1.2.5)
|
26
|
+
github_api
|
27
|
+
highline (>= 1.6.15)
|
28
|
+
nokogiri (>= 1.5.10)
|
8
29
|
rake
|
9
|
-
|
10
|
-
|
30
|
+
rdoc
|
31
|
+
json (1.8.1)
|
32
|
+
jwt (0.1.5)
|
33
|
+
multi_json (>= 1.0)
|
34
|
+
mini_portile (0.5.2)
|
35
|
+
multi_json (1.9.0)
|
36
|
+
multipart-post (1.1.5)
|
37
|
+
nokogiri (1.6.1)
|
38
|
+
mini_portile (~> 0.5.0)
|
39
|
+
oauth2 (0.8.0)
|
40
|
+
faraday (~> 0.8)
|
41
|
+
httpauth (~> 0.1)
|
42
|
+
jwt (~> 0.1.4)
|
43
|
+
multi_json (~> 1.0)
|
44
|
+
rack (~> 1.2)
|
45
|
+
rack (1.5.2)
|
46
|
+
rake (10.1.1)
|
47
|
+
rdoc (3.12.2)
|
48
|
+
json (~> 1.4)
|
11
49
|
rspec (1.3.1)
|
50
|
+
thread_safe (0.3.4)
|
12
51
|
|
13
52
|
PLATFORMS
|
14
53
|
ruby
|
15
54
|
|
16
55
|
DEPENDENCIES
|
17
|
-
|
18
|
-
jeweler (~> 1.5.2)
|
19
|
-
rcov
|
56
|
+
jeweler (= 2.0.1)
|
20
57
|
rspec (>= 1.3.0)
|
data/Rakefile
CHANGED
@@ -35,13 +35,3 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
|
|
35
35
|
end
|
36
36
|
|
37
37
|
task :default => :spec
|
38
|
-
|
39
|
-
require 'rake/rdoctask'
|
40
|
-
Rake::RDocTask.new do |rdoc|
|
41
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
42
|
-
|
43
|
-
rdoc.rdoc_dir = 'rdoc'
|
44
|
-
rdoc.title = "higml #{version}"
|
45
|
-
rdoc.rdoc_files.include('README*')
|
46
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
47
|
-
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/higml.gemspec
CHANGED
@@ -2,16 +2,18 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: higml 0.0.2 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.0.
|
8
|
+
s.name = "higml"
|
9
|
+
s.version = "0.0.2"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
11
13
|
s.authors = ["Daniel Higginbotham"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
14
|
+
s.date = "2014-06-03"
|
15
|
+
s.description = "Higml is a terse format for converting a static input hash to a dynamic output hash."
|
16
|
+
s.email = "daniel@flyingmachinestudios.com"
|
15
17
|
s.extra_rdoc_files = [
|
16
18
|
"LICENSE.txt",
|
17
19
|
"README.markdown"
|
@@ -54,39 +56,24 @@ Gem::Specification.new do |s|
|
|
54
56
|
"spec/spec.opts",
|
55
57
|
"spec/spec_helper.rb"
|
56
58
|
]
|
57
|
-
s.homepage =
|
59
|
+
s.homepage = "http://github.com/flyingmachine/higml"
|
58
60
|
s.licenses = ["MIT"]
|
59
|
-
s.
|
60
|
-
s.
|
61
|
-
s.summary = %q{Higml is a terse format for converting an input hash to an output hash.}
|
62
|
-
s.test_files = [
|
63
|
-
"spec/higml_spec.rb",
|
64
|
-
"spec/lib/higml/applier_spec.rb",
|
65
|
-
"spec/lib/higml/config_spec.rb",
|
66
|
-
"spec/lib/higml/parser_spec.rb",
|
67
|
-
"spec/spec_helper.rb"
|
68
|
-
]
|
61
|
+
s.rubygems_version = "2.2.2"
|
62
|
+
s.summary = "Higml is a terse format for converting an input hash to an output hash."
|
69
63
|
|
70
64
|
if s.respond_to? :specification_version then
|
71
|
-
|
72
|
-
s.specification_version = 3
|
65
|
+
s.specification_version = 4
|
73
66
|
|
74
67
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
75
68
|
s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
|
76
|
-
s.add_development_dependency(%q<
|
77
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
78
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
69
|
+
s.add_development_dependency(%q<jeweler>, ["= 2.0.1"])
|
79
70
|
else
|
80
71
|
s.add_dependency(%q<rspec>, [">= 1.3.0"])
|
81
|
-
s.add_dependency(%q<
|
82
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
83
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
72
|
+
s.add_dependency(%q<jeweler>, ["= 2.0.1"])
|
84
73
|
end
|
85
74
|
else
|
86
75
|
s.add_dependency(%q<rspec>, [">= 1.3.0"])
|
87
|
-
s.add_dependency(%q<
|
88
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
89
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
76
|
+
s.add_dependency(%q<jeweler>, ["= 2.0.1"])
|
90
77
|
end
|
91
78
|
end
|
92
79
|
|
data/lib/higml/config.rb
CHANGED
@@ -21,9 +21,12 @@ module Higml
|
|
21
21
|
|
22
22
|
def set(config)
|
23
23
|
case config
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
when Hash
|
25
|
+
set_with_hash(config)
|
26
|
+
when IO
|
27
|
+
set_with_io(config)
|
28
|
+
when String
|
29
|
+
set_with_string(config)
|
27
30
|
end
|
28
31
|
end
|
29
32
|
|
metadata
CHANGED
@@ -1,95 +1,52 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: higml
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease: false
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Daniel Higginbotham
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
-
none: false
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 27
|
28
|
-
segments:
|
29
|
-
- 1
|
30
|
-
- 3
|
31
|
-
- 0
|
32
|
-
version: 1.3.0
|
11
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
33
14
|
name: rspec
|
34
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.3.0
|
35
20
|
type: :development
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 23
|
44
|
-
segments:
|
45
|
-
- 1
|
46
|
-
- 0
|
47
|
-
- 0
|
48
|
-
version: 1.0.0
|
49
|
-
name: bundler
|
50
21
|
prerelease: false
|
51
|
-
|
52
|
-
|
53
|
-
- !
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
- - ~>
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
hash: 7
|
60
|
-
segments:
|
61
|
-
- 1
|
62
|
-
- 5
|
63
|
-
- 2
|
64
|
-
version: 1.5.2
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.3.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
65
28
|
name: jeweler
|
66
|
-
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.0.1
|
67
34
|
type: :development
|
68
|
-
version_requirements: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
hash: 3
|
76
|
-
segments:
|
77
|
-
- 0
|
78
|
-
version: "0"
|
79
|
-
name: rcov
|
80
35
|
prerelease: false
|
81
|
-
|
82
|
-
|
83
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.0.1
|
41
|
+
description: Higml is a terse format for converting a static input hash to a dynamic
|
42
|
+
output hash.
|
84
43
|
email: daniel@flyingmachinestudios.com
|
85
44
|
executables: []
|
86
|
-
|
87
45
|
extensions: []
|
88
|
-
|
89
|
-
extra_rdoc_files:
|
46
|
+
extra_rdoc_files:
|
90
47
|
- LICENSE.txt
|
91
48
|
- README.markdown
|
92
|
-
files:
|
49
|
+
files:
|
93
50
|
- .document
|
94
51
|
- .rspec
|
95
52
|
- Gemfile
|
@@ -126,43 +83,28 @@ files:
|
|
126
83
|
- spec/lib/higml/parser_spec.rb
|
127
84
|
- spec/spec.opts
|
128
85
|
- spec/spec_helper.rb
|
129
|
-
has_rdoc: true
|
130
86
|
homepage: http://github.com/flyingmachine/higml
|
131
|
-
licenses:
|
87
|
+
licenses:
|
132
88
|
- MIT
|
89
|
+
metadata: {}
|
133
90
|
post_install_message:
|
134
91
|
rdoc_options: []
|
135
|
-
|
136
|
-
require_paths:
|
92
|
+
require_paths:
|
137
93
|
- lib
|
138
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
none: false
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
hash: 3
|
153
|
-
segments:
|
154
|
-
- 0
|
155
|
-
version: "0"
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
156
104
|
requirements: []
|
157
|
-
|
158
105
|
rubyforge_project:
|
159
|
-
rubygems_version:
|
106
|
+
rubygems_version: 2.2.2
|
160
107
|
signing_key:
|
161
|
-
specification_version:
|
108
|
+
specification_version: 4
|
162
109
|
summary: Higml is a terse format for converting an input hash to an output hash.
|
163
|
-
test_files:
|
164
|
-
- spec/higml_spec.rb
|
165
|
-
- spec/lib/higml/applier_spec.rb
|
166
|
-
- spec/lib/higml/config_spec.rb
|
167
|
-
- spec/lib/higml/parser_spec.rb
|
168
|
-
- spec/spec_helper.rb
|
110
|
+
test_files: []
|