parslet 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/HISTORY.txt +4 -1
  3. data/lib/parslet/rig/rspec.rb +1 -1
  4. metadata +57 -52
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 041b9dcd017516b0335b4553a0ffcde588d8316c
4
- data.tar.gz: 6f57cfc783537bd7041a5f67703a894b6350a1e4
3
+ metadata.gz: 48adca502f4d3fa08eeaa93ee6c2349866ec2028
4
+ data.tar.gz: d74a18ffbf0fa05cc3b9c6ba42d112ce7fcb218e
5
5
  SHA512:
6
- metadata.gz: dccb1e2066a77937485d82d3ac155725db744a03e2ab37360bfe105ae612447074638bc40b5f88f0ee8ece95a407d161179f82e9bedd8de585d15aaced535382
7
- data.tar.gz: d1f451935a0da7518ef301eab7bc0b0d689d1d277e1e28bca4e47e48be486c45f7d9f4839df4587d4490c9833ea9f378e1fdc92eddd77a5122d5ad66bc17ae30
6
+ metadata.gz: 0271bfb7536639b396e5203b52fa3d148f09534d08bd67d54c58efb4be4454be35761203b02270719bf32f4ab54313b63b3bb4321e4b993094248f36f7b7f88d
7
+ data.tar.gz: 56a0e3845d0e0dd7a553c6d901c7ed37863c89d5140bd460285dea2e81d63aeb917190f80a7f29f7a914ac2cb17f301874db2fbb7d4f2bcfc1e6715645541b64
data/HISTORY.txt CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  ! Small speed gains from improvements on the hot spots.
9
9
 
10
- = 1.6 / 1May2014
10
+ = 1.6 / 1May2014, 13Okt14
11
11
 
12
12
  + EXPERIMENTAL: Parslet accelerators permit replacing parts of your parser
13
13
  with optimized atoms using pattern matching. Look at
@@ -27,6 +27,9 @@
27
27
 
28
28
  ! A few small bug fixes and optimisations have been introduced. API should
29
29
  remain unchanged.
30
+
31
+ + More lenient on the blankslate version.
32
+ + Modernizes the test suite to run with rspec again. (!)
30
33
 
31
34
  = 1.5 / 27Dec2012
32
35
 
@@ -52,7 +52,7 @@ RSpec::Matchers.define(:parse) do |input, opts|
52
52
 
53
53
  # NOTE: This has a nodoc tag since the rdoc parser puts this into
54
54
  # Object, a thing I would never allow.
55
- chain :as do |expected_output, &block|
55
+ chain :as do |expected_output=nil, &block|
56
56
  as = expected_output
57
57
  block = block
58
58
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parslet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaspar Schiess
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blankslate
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.0'
20
+ - - <=
21
+ - !ruby/object:Gem::Version
22
+ version: '4.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '2.0'
30
+ - - <=
31
+ - !ruby/object:Gem::Version
32
+ version: '4.0'
27
33
  description:
28
34
  email: kaspar.schiess@absurd.li
29
35
  executables: []
@@ -33,8 +39,50 @@ extra_rdoc_files:
33
39
  files:
34
40
  - HISTORY.txt
35
41
  - LICENSE
36
- - README
37
42
  - Rakefile
43
+ - README
44
+ - lib/parslet/accelerator/application.rb
45
+ - lib/parslet/accelerator/engine.rb
46
+ - lib/parslet/accelerator.rb
47
+ - lib/parslet/atoms/alternative.rb
48
+ - lib/parslet/atoms/base.rb
49
+ - lib/parslet/atoms/can_flatten.rb
50
+ - lib/parslet/atoms/capture.rb
51
+ - lib/parslet/atoms/context.rb
52
+ - lib/parslet/atoms/dsl.rb
53
+ - lib/parslet/atoms/dynamic.rb
54
+ - lib/parslet/atoms/entity.rb
55
+ - lib/parslet/atoms/infix.rb
56
+ - lib/parslet/atoms/lookahead.rb
57
+ - lib/parslet/atoms/named.rb
58
+ - lib/parslet/atoms/re.rb
59
+ - lib/parslet/atoms/repetition.rb
60
+ - lib/parslet/atoms/scope.rb
61
+ - lib/parslet/atoms/sequence.rb
62
+ - lib/parslet/atoms/str.rb
63
+ - lib/parslet/atoms/visitor.rb
64
+ - lib/parslet/atoms.rb
65
+ - lib/parslet/cause.rb
66
+ - lib/parslet/context.rb
67
+ - lib/parslet/convenience.rb
68
+ - lib/parslet/error_reporter/deepest.rb
69
+ - lib/parslet/error_reporter/tree.rb
70
+ - lib/parslet/error_reporter.rb
71
+ - lib/parslet/export.rb
72
+ - lib/parslet/expression/treetop.rb
73
+ - lib/parslet/expression.rb
74
+ - lib/parslet/graphviz.rb
75
+ - lib/parslet/parser.rb
76
+ - lib/parslet/pattern/binding.rb
77
+ - lib/parslet/pattern.rb
78
+ - lib/parslet/position.rb
79
+ - lib/parslet/rig/rspec.rb
80
+ - lib/parslet/scope.rb
81
+ - lib/parslet/slice.rb
82
+ - lib/parslet/source/line_cache.rb
83
+ - lib/parslet/source.rb
84
+ - lib/parslet/transform.rb
85
+ - lib/parslet.rb
38
86
  - example/big.erb
39
87
  - example/boolean_algebra.rb
40
88
  - example/calc.rb
@@ -92,73 +140,30 @@ files:
92
140
  - example/simple_xml.rb
93
141
  - example/string_parser.rb
94
142
  - example/test.lit
95
- - lib/parslet.rb
96
- - lib/parslet/accelerator.rb
97
- - lib/parslet/accelerator/application.rb
98
- - lib/parslet/accelerator/engine.rb
99
- - lib/parslet/atoms.rb
100
- - lib/parslet/atoms/alternative.rb
101
- - lib/parslet/atoms/base.rb
102
- - lib/parslet/atoms/can_flatten.rb
103
- - lib/parslet/atoms/capture.rb
104
- - lib/parslet/atoms/context.rb
105
- - lib/parslet/atoms/dsl.rb
106
- - lib/parslet/atoms/dynamic.rb
107
- - lib/parslet/atoms/entity.rb
108
- - lib/parslet/atoms/infix.rb
109
- - lib/parslet/atoms/lookahead.rb
110
- - lib/parslet/atoms/named.rb
111
- - lib/parslet/atoms/re.rb
112
- - lib/parslet/atoms/repetition.rb
113
- - lib/parslet/atoms/scope.rb
114
- - lib/parslet/atoms/sequence.rb
115
- - lib/parslet/atoms/str.rb
116
- - lib/parslet/atoms/visitor.rb
117
- - lib/parslet/cause.rb
118
- - lib/parslet/context.rb
119
- - lib/parslet/convenience.rb
120
- - lib/parslet/error_reporter.rb
121
- - lib/parslet/error_reporter/deepest.rb
122
- - lib/parslet/error_reporter/tree.rb
123
- - lib/parslet/export.rb
124
- - lib/parslet/expression.rb
125
- - lib/parslet/expression/treetop.rb
126
- - lib/parslet/graphviz.rb
127
- - lib/parslet/parser.rb
128
- - lib/parslet/pattern.rb
129
- - lib/parslet/pattern/binding.rb
130
- - lib/parslet/position.rb
131
- - lib/parslet/rig/rspec.rb
132
- - lib/parslet/scope.rb
133
- - lib/parslet/slice.rb
134
- - lib/parslet/source.rb
135
- - lib/parslet/source/line_cache.rb
136
- - lib/parslet/transform.rb
137
143
  homepage: http://kschiess.github.com/parslet
138
144
  licenses:
139
145
  - MIT
140
146
  metadata: {}
141
147
  post_install_message:
142
148
  rdoc_options:
143
- - "--main"
149
+ - --main
144
150
  - README
145
151
  require_paths:
146
152
  - lib
147
153
  required_ruby_version: !ruby/object:Gem::Requirement
148
154
  requirements:
149
- - - ">="
155
+ - - '>='
150
156
  - !ruby/object:Gem::Version
151
157
  version: '0'
152
158
  required_rubygems_version: !ruby/object:Gem::Requirement
153
159
  requirements:
154
- - - ">="
160
+ - - '>='
155
161
  - !ruby/object:Gem::Version
156
162
  version: '0'
157
163
  requirements: []
158
164
  rubyforge_project:
159
- rubygems_version: 2.2.2
165
+ rubygems_version: 2.0.14
160
166
  signing_key:
161
167
  specification_version: 4
162
168
  summary: Parser construction library with great error reporting in Ruby.
163
169
  test_files: []
164
- has_rdoc: