tomlrb 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +11 -1
- data/lib/tomlrb/scanner.rb +1 -1
- data/lib/tomlrb/version.rb +1 -1
- data/tomlrb.gemspec +1 -10
- metadata +6 -117
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64117f3a577cfcd9bbc975be47a6a0061612f36a
|
4
|
+
data.tar.gz: 2886bbb9497c1b73a4f0442469bd574e20a254b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2e83d516b635303da1344b21241e0bc68ea44475972b38469a3be2fbd41ad277db8c81c85dc683e929f8fc9b823df9146188bbf197a7424477a199855312288
|
7
|
+
data.tar.gz: b828a8dc43fdebafdd78e8c2c6419d81ce2491da3194da0008c10da9ebdab39e763a7a967c21037db9b6d3c303faf8910d4628d9792e858189d7f5127ade5468
|
data/Gemfile
CHANGED
@@ -1,4 +1,14 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
|
3
|
+
group :development do
|
4
|
+
gem "bundler", "~> 1.9"
|
5
|
+
gem "rake", "~> 10.0"
|
6
|
+
gem "pry"
|
7
|
+
gem "pry-byebug"
|
8
|
+
gem "racc"
|
9
|
+
gem "minitest"
|
10
|
+
gem "minitest-reporters"
|
11
|
+
gem "benchmark-ips"
|
12
|
+
end
|
13
|
+
|
4
14
|
gemspec
|
data/lib/tomlrb/scanner.rb
CHANGED
@@ -6,7 +6,7 @@ module Tomlrb
|
|
6
6
|
IDENTIFIER = /[A-Za-z0-9_-]+/
|
7
7
|
SPACE = /[ \t\r\n]/
|
8
8
|
STRING_BASIC = /(["])(?:\\?.)*?\1/
|
9
|
-
STRING_MULTI = /"{3}([\s\S]*?"{3})/m
|
9
|
+
STRING_MULTI = /"{3}([\s\S]*?"{3,4})/m
|
10
10
|
STRING_LITERAL = /(['])(?:\\?.)*?\1/
|
11
11
|
STRING_LITERAL_MULTI = /'{3}([\s\S]*?'{3})/m
|
12
12
|
DATETIME = /(-?\d{4})-(\d{2})-(\d{2})(?:t|\s)(\d{2}):(\d{2}):(\d{2}(?:\.\d+)?)?(z|[-+]\d{2}:\d{2})/i
|
data/lib/tomlrb/version.rb
CHANGED
data/tomlrb.gemspec
CHANGED
@@ -11,20 +11,11 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{A racc based toml parser}
|
13
13
|
spec.description = %q{A racc based toml parser}
|
14
|
-
spec.homepage = ""
|
14
|
+
spec.homepage = "https://github.com/fbernier/tomlrb"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
18
|
spec.bindir = "exe"
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
|
-
|
22
|
-
spec.add_development_dependency "bundler", "~> 1.9"
|
23
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
-
spec.add_development_dependency "pry"
|
25
|
-
spec.add_development_dependency "pry-byebug"
|
26
|
-
spec.add_development_dependency "racc"
|
27
|
-
spec.add_development_dependency "minitest"
|
28
|
-
spec.add_development_dependency "minitest-reporters"
|
29
|
-
spec.add_development_dependency "benchmark-ips"
|
30
21
|
end
|
metadata
CHANGED
@@ -1,127 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomlrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francois Bernier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.9'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.9'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '10.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '10.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: pry
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: pry-byebug
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: racc
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: minitest
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: minitest-reporters
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: benchmark-ips
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
11
|
+
date: 2016-04-09 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
125
13
|
description: A racc based toml parser
|
126
14
|
email:
|
127
15
|
- frankbernier@gmail.com
|
@@ -148,7 +36,7 @@ files:
|
|
148
36
|
- lib/tomlrb/string_utils.rb
|
149
37
|
- lib/tomlrb/version.rb
|
150
38
|
- tomlrb.gemspec
|
151
|
-
homepage:
|
39
|
+
homepage: https://github.com/fbernier/tomlrb
|
152
40
|
licenses:
|
153
41
|
- MIT
|
154
42
|
metadata: {}
|
@@ -168,8 +56,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
56
|
version: '0'
|
169
57
|
requirements: []
|
170
58
|
rubyforge_project:
|
171
|
-
rubygems_version: 2.
|
59
|
+
rubygems_version: 2.5.1
|
172
60
|
signing_key:
|
173
61
|
specification_version: 4
|
174
62
|
summary: A racc based toml parser
|
175
63
|
test_files: []
|
64
|
+
has_rdoc:
|