edn_turbo 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/bin/ppedn +2 -2
- data/lib/edn_turbo/version.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ca200517605ad62ba962df669b12dcf92364361
|
4
|
+
data.tar.gz: 2ecf70785ae36190c14514232877ce0a1635e2e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d83f1150939497976672c7f0d3a19c3e2095f2af8af9a631f4e4068a8ff009c5235b451e16489faabd7b501bffe21666fa5c7211b6ae6746eb747e5cb50dbcb3
|
7
|
+
data.tar.gz: 9a45dcdb8afec5f39856f5e49294c5a831f04ad409e04125d5c5af21e6a6f8156421caed3088a1327d2f570426e38ea86f1fc3d2abc314edbbcf0cf9ffc3c96c
|
data/README.md
CHANGED
@@ -13,7 +13,8 @@ magintude faster.
|
|
13
13
|
Some quick sample runs comparing time output of file reads using `edn`
|
14
14
|
and `edn_turbo` (see [issue 12](https://github.com/relevance/edn-ruby/issues/12)):
|
15
15
|
|
16
|
-
```
|
16
|
+
```
|
17
|
+
irb(main):001:0> require 'benchmark'
|
17
18
|
=> true
|
18
19
|
irb(main):002:0> require 'edn'
|
19
20
|
=> true
|
data/bin/ppedn
CHANGED
@@ -47,14 +47,14 @@ File.open(filename) do |file|
|
|
47
47
|
if options[:use_parse]
|
48
48
|
output = p.parse(file.read)
|
49
49
|
|
50
|
-
pp output if output !=
|
50
|
+
pp output if output != EDN::EOF
|
51
51
|
else
|
52
52
|
p.set_input(file.read)
|
53
53
|
|
54
54
|
loop do
|
55
55
|
output = p.read
|
56
56
|
|
57
|
-
break if output ==
|
57
|
+
break if output == EDN::EOF
|
58
58
|
|
59
59
|
pp output
|
60
60
|
|
data/lib/edn_turbo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edn_turbo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ed Porras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: edn
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '5.7'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '5.7'
|
69
69
|
description: Optimization for parsing of EDN files using ragel in a c++ extension
|
70
70
|
email: ed@motologic.com
|
71
71
|
executables:
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.4
|
115
|
+
rubygems_version: 2.6.4
|
116
116
|
signing_key:
|
117
117
|
specification_version: 3
|
118
118
|
summary: Read EDN files
|