halunke 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f172710d0d2a8c51540fbd7caa861c14ece049eca0b33d12f3e3bea3801ad78c
4
- data.tar.gz: a15b0cab9dba8de9e1d80f1d43b5ce4d1118835e8492d38abbaaf2a480704365
3
+ metadata.gz: b88fa1971391744a766f367a96f4be7c602b93ff01d0f97efc20075faa0bb715
4
+ data.tar.gz: 6f407c6b082186d4231095b71169e3f2c588bf50b87a8e368a4ffc10e2241566
5
5
  SHA512:
6
- metadata.gz: 7c16029474c1daeec3bc3150f2f5b087aa320d8f83dc2cea1ac422b20f94f3ff54b6d4f7008d8a7cf01ff032ecd8b7a008924781e212cf7239fcccc93476689d
7
- data.tar.gz: 26c50456edba9230fc9e40dfca19725b7993a21d5f633f63ef48d7e6d8fc8979f4ecbed609dadcc666fe65454be6a54446c0cd12387393ab5712c6507a80aa6d
6
+ metadata.gz: 48775bdb30c4f3d9372e6365f68bf434f51e3591e39de8764bd7c3671e4690acc91c337592444b9f05d360adeb51274c5a0696dc7a2d646978b4039637d19bdd
7
+ data.tar.gz: ea26967bfaa91237a248ca4f345884bfef4c1c49137ab70bd0895d2c436d455d7cc0dbb2bb18108ea0977cc227fc14ebf1329e0aca9e05361004afd3c98b4921
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- halunke (0.7.0)
4
+ halunke (0.8.0)
5
5
  rack (~> 2.0.4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  minitest (5.11.3)
11
- racc (1.4.14)
11
+ racc (1.4.15)
12
12
  rack (2.0.6)
13
13
  rake (12.3.2)
14
14
 
@@ -16,11 +16,11 @@ PLATFORMS
16
16
  ruby
17
17
 
18
18
  DEPENDENCIES
19
- bundler (~> 1.16.1)
19
+ bundler (~> 1.17.2)
20
20
  halunke!
21
21
  minitest (~> 5.11.3)
22
- racc (~> 1.4.14)
23
- rake (~> 12.3.0)
22
+ racc (~> 1.4.15)
23
+ rake (~> 12.3.2)
24
24
 
25
25
  BUNDLED WITH
26
- 1.16.4
26
+ 1.17.2
data/Rakefile CHANGED
@@ -1,15 +1,14 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rake/testtask"
3
3
 
4
- desc 'Compile Lexer with Ragel'
4
+ desc 'Compile Tokenizer and Parser'
5
5
  task :compile do
6
- sh 'ragel -R -o lib/halunke/lexer.rb lib/halunke/lexer.rl'
6
+ sh 'ragel -R -o lib/halunke/tokenizer.rb lib/halunke/tokenizer.rl'
7
7
  sh 'racc -o lib/halunke/parser.rb lib/halunke/grammar.y'
8
8
  end
9
9
 
10
10
  Rake::TestTask.new(:test) do |t|
11
11
  t.libs << "test"
12
- t.libs << "lib"
13
12
  t.test_files = FileList["test/**/*_test.rb"]
14
13
  t.deps = [:compile]
15
14
  end
@@ -1,7 +1,7 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- activesupport (4.2.9)
4
+ activesupport (4.2.10)
5
5
  i18n (~> 0.7)
6
6
  minitest (~> 5.1)
7
7
  thread_safe (~> 0.3, >= 0.3.4)
@@ -13,107 +13,115 @@ GEM
13
13
  execjs
14
14
  coffee-script-source (1.11.1)
15
15
  colorator (1.1.0)
16
- commonmarker (0.17.7.1)
16
+ commonmarker (0.17.13)
17
17
  ruby-enum (~> 0.5)
18
- concurrent-ruby (1.0.5)
18
+ concurrent-ruby (1.1.4)
19
+ dnsruby (1.61.2)
20
+ addressable (~> 2.5)
21
+ em-websocket (0.5.1)
22
+ eventmachine (>= 0.12.9)
23
+ http_parser.rb (~> 0.6.0)
19
24
  ethon (0.11.0)
20
25
  ffi (>= 1.3.0)
26
+ eventmachine (1.2.7)
21
27
  execjs (2.7.0)
22
- faraday (0.14.0)
28
+ faraday (0.15.4)
23
29
  multipart-post (>= 1.2, < 3)
24
- ffi (1.9.21)
30
+ ffi (1.9.25)
25
31
  forwardable-extended (2.6.0)
26
32
  gemoji (3.0.0)
27
- github-pages (176)
28
- activesupport (= 4.2.9)
29
- github-pages-health-check (= 1.3.5)
30
- jekyll (= 3.6.2)
31
- jekyll-avatar (= 0.5.0)
32
- jekyll-coffeescript (= 1.0.2)
33
- jekyll-commonmark-ghpages (= 0.1.4)
33
+ github-pages (193)
34
+ activesupport (= 4.2.10)
35
+ github-pages-health-check (= 1.8.1)
36
+ jekyll (= 3.7.4)
37
+ jekyll-avatar (= 0.6.0)
38
+ jekyll-coffeescript (= 1.1.1)
39
+ jekyll-commonmark-ghpages (= 0.1.5)
34
40
  jekyll-default-layout (= 0.1.4)
35
- jekyll-feed (= 0.9.2)
36
- jekyll-gist (= 1.4.1)
37
- jekyll-github-metadata (= 2.9.3)
38
- jekyll-mentions (= 1.2.0)
41
+ jekyll-feed (= 0.11.0)
42
+ jekyll-gist (= 1.5.0)
43
+ jekyll-github-metadata (= 2.9.4)
44
+ jekyll-mentions (= 1.4.1)
39
45
  jekyll-optional-front-matter (= 0.3.0)
40
46
  jekyll-paginate (= 1.1.0)
41
47
  jekyll-readme-index (= 0.2.0)
42
- jekyll-redirect-from (= 0.12.1)
43
- jekyll-relative-links (= 0.5.2)
44
- jekyll-remote-theme (= 0.2.3)
45
- jekyll-sass-converter (= 1.5.0)
46
- jekyll-seo-tag (= 2.3.0)
47
- jekyll-sitemap (= 1.1.1)
48
+ jekyll-redirect-from (= 0.14.0)
49
+ jekyll-relative-links (= 0.5.3)
50
+ jekyll-remote-theme (= 0.3.1)
51
+ jekyll-sass-converter (= 1.5.2)
52
+ jekyll-seo-tag (= 2.5.0)
53
+ jekyll-sitemap (= 1.2.0)
48
54
  jekyll-swiss (= 0.4.0)
49
- jekyll-theme-architect (= 0.1.0)
50
- jekyll-theme-cayman (= 0.1.0)
51
- jekyll-theme-dinky (= 0.1.0)
52
- jekyll-theme-hacker (= 0.1.0)
53
- jekyll-theme-leap-day (= 0.1.0)
54
- jekyll-theme-merlot (= 0.1.0)
55
- jekyll-theme-midnight (= 0.1.0)
56
- jekyll-theme-minimal (= 0.1.0)
57
- jekyll-theme-modernist (= 0.1.0)
58
- jekyll-theme-primer (= 0.5.2)
59
- jekyll-theme-slate (= 0.1.0)
60
- jekyll-theme-tactile (= 0.1.0)
61
- jekyll-theme-time-machine (= 0.1.0)
62
- jekyll-titles-from-headings (= 0.5.0)
63
- jemoji (= 0.8.1)
64
- kramdown (= 1.16.2)
55
+ jekyll-theme-architect (= 0.1.1)
56
+ jekyll-theme-cayman (= 0.1.1)
57
+ jekyll-theme-dinky (= 0.1.1)
58
+ jekyll-theme-hacker (= 0.1.1)
59
+ jekyll-theme-leap-day (= 0.1.1)
60
+ jekyll-theme-merlot (= 0.1.1)
61
+ jekyll-theme-midnight (= 0.1.1)
62
+ jekyll-theme-minimal (= 0.1.1)
63
+ jekyll-theme-modernist (= 0.1.1)
64
+ jekyll-theme-primer (= 0.5.3)
65
+ jekyll-theme-slate (= 0.1.1)
66
+ jekyll-theme-tactile (= 0.1.1)
67
+ jekyll-theme-time-machine (= 0.1.1)
68
+ jekyll-titles-from-headings (= 0.5.1)
69
+ jemoji (= 0.10.1)
70
+ kramdown (= 1.17.0)
65
71
  liquid (= 4.0.0)
66
- listen (= 3.0.6)
72
+ listen (= 3.1.5)
67
73
  mercenary (~> 0.3)
68
- minima (= 2.1.1)
69
- nokogiri (>= 1.8.1, < 2.0)
74
+ minima (= 2.5.0)
75
+ nokogiri (>= 1.8.2, < 2.0)
70
76
  rouge (= 2.2.1)
71
77
  terminal-table (~> 1.4)
72
- github-pages-health-check (1.3.5)
78
+ github-pages-health-check (1.8.1)
73
79
  addressable (~> 2.3)
74
- net-dns (~> 0.8)
80
+ dnsruby (~> 1.60)
75
81
  octokit (~> 4.0)
76
82
  public_suffix (~> 2.0)
77
- typhoeus (~> 0.7)
78
- html-pipeline (2.7.1)
83
+ typhoeus (~> 1.3)
84
+ html-pipeline (2.9.1)
79
85
  activesupport (>= 2)
80
86
  nokogiri (>= 1.4)
81
- i18n (0.9.4)
87
+ http_parser.rb (0.6.0)
88
+ i18n (0.9.5)
82
89
  concurrent-ruby (~> 1.0)
83
- jekyll (3.6.2)
90
+ jekyll (3.7.4)
84
91
  addressable (~> 2.4)
85
92
  colorator (~> 1.0)
93
+ em-websocket (~> 0.5)
94
+ i18n (~> 0.7)
86
95
  jekyll-sass-converter (~> 1.0)
87
- jekyll-watch (~> 1.1)
96
+ jekyll-watch (~> 2.0)
88
97
  kramdown (~> 1.14)
89
98
  liquid (~> 4.0)
90
99
  mercenary (~> 0.3.3)
91
100
  pathutil (~> 0.9)
92
- rouge (>= 1.7, < 3)
101
+ rouge (>= 1.7, < 4)
93
102
  safe_yaml (~> 1.0)
94
- jekyll-avatar (0.5.0)
103
+ jekyll-avatar (0.6.0)
95
104
  jekyll (~> 3.0)
96
- jekyll-coffeescript (1.0.2)
105
+ jekyll-coffeescript (1.1.1)
97
106
  coffee-script (~> 2.2)
98
107
  coffee-script-source (~> 1.11.1)
99
- jekyll-commonmark (1.1.0)
108
+ jekyll-commonmark (1.2.0)
100
109
  commonmarker (~> 0.14)
101
110
  jekyll (>= 3.0, < 4.0)
102
- jekyll-commonmark-ghpages (0.1.4)
111
+ jekyll-commonmark-ghpages (0.1.5)
103
112
  commonmarker (~> 0.17.6)
104
113
  jekyll-commonmark (~> 1)
105
114
  rouge (~> 2)
106
115
  jekyll-default-layout (0.1.4)
107
116
  jekyll (~> 3.0)
108
- jekyll-feed (0.9.2)
117
+ jekyll-feed (0.11.0)
109
118
  jekyll (~> 3.3)
110
- jekyll-gist (1.4.1)
119
+ jekyll-gist (1.5.0)
111
120
  octokit (~> 4.2)
112
- jekyll-github-metadata (2.9.3)
121
+ jekyll-github-metadata (2.9.4)
113
122
  jekyll (~> 3.1)
114
123
  octokit (~> 4.0, != 4.4.0)
115
- jekyll-mentions (1.2.0)
116
- activesupport (~> 4.0)
124
+ jekyll-mentions (1.4.1)
117
125
  html-pipeline (~> 2.3)
118
126
  jekyll (~> 3.0)
119
127
  jekyll-optional-front-matter (0.3.0)
@@ -121,98 +129,99 @@ GEM
121
129
  jekyll-paginate (1.1.0)
122
130
  jekyll-readme-index (0.2.0)
123
131
  jekyll (~> 3.0)
124
- jekyll-redirect-from (0.12.1)
132
+ jekyll-redirect-from (0.14.0)
125
133
  jekyll (~> 3.3)
126
- jekyll-relative-links (0.5.2)
134
+ jekyll-relative-links (0.5.3)
127
135
  jekyll (~> 3.3)
128
- jekyll-remote-theme (0.2.3)
136
+ jekyll-remote-theme (0.3.1)
129
137
  jekyll (~> 3.5)
130
138
  rubyzip (>= 1.2.1, < 3.0)
131
- typhoeus (>= 0.7, < 2.0)
132
- jekyll-sass-converter (1.5.0)
139
+ jekyll-sass-converter (1.5.2)
133
140
  sass (~> 3.4)
134
- jekyll-seo-tag (2.3.0)
141
+ jekyll-seo-tag (2.5.0)
135
142
  jekyll (~> 3.3)
136
- jekyll-sitemap (1.1.1)
143
+ jekyll-sitemap (1.2.0)
137
144
  jekyll (~> 3.3)
138
145
  jekyll-swiss (0.4.0)
139
- jekyll-theme-architect (0.1.0)
146
+ jekyll-theme-architect (0.1.1)
140
147
  jekyll (~> 3.5)
141
148
  jekyll-seo-tag (~> 2.0)
142
- jekyll-theme-cayman (0.1.0)
149
+ jekyll-theme-cayman (0.1.1)
143
150
  jekyll (~> 3.5)
144
151
  jekyll-seo-tag (~> 2.0)
145
- jekyll-theme-dinky (0.1.0)
152
+ jekyll-theme-dinky (0.1.1)
146
153
  jekyll (~> 3.5)
147
154
  jekyll-seo-tag (~> 2.0)
148
- jekyll-theme-hacker (0.1.0)
155
+ jekyll-theme-hacker (0.1.1)
149
156
  jekyll (~> 3.5)
150
157
  jekyll-seo-tag (~> 2.0)
151
- jekyll-theme-leap-day (0.1.0)
158
+ jekyll-theme-leap-day (0.1.1)
152
159
  jekyll (~> 3.5)
153
160
  jekyll-seo-tag (~> 2.0)
154
- jekyll-theme-merlot (0.1.0)
161
+ jekyll-theme-merlot (0.1.1)
155
162
  jekyll (~> 3.5)
156
163
  jekyll-seo-tag (~> 2.0)
157
- jekyll-theme-midnight (0.1.0)
164
+ jekyll-theme-midnight (0.1.1)
158
165
  jekyll (~> 3.5)
159
166
  jekyll-seo-tag (~> 2.0)
160
- jekyll-theme-minimal (0.1.0)
167
+ jekyll-theme-minimal (0.1.1)
161
168
  jekyll (~> 3.5)
162
169
  jekyll-seo-tag (~> 2.0)
163
- jekyll-theme-modernist (0.1.0)
170
+ jekyll-theme-modernist (0.1.1)
164
171
  jekyll (~> 3.5)
165
172
  jekyll-seo-tag (~> 2.0)
166
- jekyll-theme-primer (0.5.2)
173
+ jekyll-theme-primer (0.5.3)
167
174
  jekyll (~> 3.5)
168
175
  jekyll-github-metadata (~> 2.9)
169
- jekyll-seo-tag (~> 2.2)
170
- jekyll-theme-slate (0.1.0)
176
+ jekyll-seo-tag (~> 2.0)
177
+ jekyll-theme-slate (0.1.1)
171
178
  jekyll (~> 3.5)
172
179
  jekyll-seo-tag (~> 2.0)
173
- jekyll-theme-tactile (0.1.0)
180
+ jekyll-theme-tactile (0.1.1)
174
181
  jekyll (~> 3.5)
175
182
  jekyll-seo-tag (~> 2.0)
176
- jekyll-theme-time-machine (0.1.0)
183
+ jekyll-theme-time-machine (0.1.1)
177
184
  jekyll (~> 3.5)
178
185
  jekyll-seo-tag (~> 2.0)
179
- jekyll-titles-from-headings (0.5.0)
186
+ jekyll-titles-from-headings (0.5.1)
180
187
  jekyll (~> 3.3)
181
- jekyll-watch (1.5.1)
188
+ jekyll-watch (2.1.2)
182
189
  listen (~> 3.0)
183
- jemoji (0.8.1)
184
- activesupport (~> 4.0, >= 4.2.9)
190
+ jemoji (0.10.1)
185
191
  gemoji (~> 3.0)
186
192
  html-pipeline (~> 2.2)
187
- jekyll (>= 3.0)
188
- kramdown (1.16.2)
193
+ jekyll (~> 3.0)
194
+ kramdown (1.17.0)
189
195
  liquid (4.0.0)
190
- listen (3.0.6)
191
- rb-fsevent (>= 0.9.3)
192
- rb-inotify (>= 0.9.7)
196
+ listen (3.1.5)
197
+ rb-fsevent (~> 0.9, >= 0.9.4)
198
+ rb-inotify (~> 0.9, >= 0.9.7)
199
+ ruby_dep (~> 1.2)
193
200
  mercenary (0.3.6)
194
- mini_portile2 (2.3.0)
195
- minima (2.1.1)
196
- jekyll (~> 3.3)
201
+ mini_portile2 (2.4.0)
202
+ minima (2.5.0)
203
+ jekyll (~> 3.5)
204
+ jekyll-feed (~> 0.9)
205
+ jekyll-seo-tag (~> 2.1)
197
206
  minitest (5.11.3)
198
207
  multipart-post (2.0.0)
199
- net-dns (0.8.0)
200
- nokogiri (1.8.2)
201
- mini_portile2 (~> 2.3.0)
202
- octokit (4.8.0)
208
+ nokogiri (1.9.1)
209
+ mini_portile2 (~> 2.4.0)
210
+ octokit (4.13.0)
203
211
  sawyer (~> 0.8.0, >= 0.5.3)
204
- pathutil (0.16.1)
212
+ pathutil (0.16.2)
205
213
  forwardable-extended (~> 2.6)
206
214
  public_suffix (2.0.5)
207
- rb-fsevent (0.10.2)
208
- rb-inotify (0.9.10)
209
- ffi (>= 0.5.0, < 2)
215
+ rb-fsevent (0.10.3)
216
+ rb-inotify (0.10.0)
217
+ ffi (~> 1.0)
210
218
  rouge (2.2.1)
211
- ruby-enum (0.7.1)
219
+ ruby-enum (0.7.2)
212
220
  i18n
213
- rubyzip (1.2.1)
221
+ ruby_dep (1.5.0)
222
+ rubyzip (1.2.2)
214
223
  safe_yaml (1.0.4)
215
- sass (3.5.5)
224
+ sass (3.7.2)
216
225
  sass-listen (~> 4.0.0)
217
226
  sass-listen (4.0.0)
218
227
  rb-fsevent (~> 0.9, >= 0.9.4)
@@ -223,11 +232,11 @@ GEM
223
232
  terminal-table (1.8.0)
224
233
  unicode-display_width (~> 1.1, >= 1.1.1)
225
234
  thread_safe (0.3.6)
226
- typhoeus (0.8.0)
227
- ethon (>= 0.8.0)
235
+ typhoeus (1.3.1)
236
+ ethon (>= 0.9.0)
228
237
  tzinfo (1.2.5)
229
238
  thread_safe (~> 0.1)
230
- unicode-display_width (1.3.0)
239
+ unicode-display_width (1.4.1)
231
240
 
232
241
  PLATFORMS
233
242
  ruby
@@ -236,4 +245,4 @@ DEPENDENCIES
236
245
  github-pages
237
246
 
238
247
  BUNDLED WITH
239
- 1.16.1
248
+ 1.16.4
@@ -82,14 +82,24 @@ return the fallback value.
82
82
  /* => "a" */
83
83
  ```
84
84
 
85
- ## `to_s`
85
+ ## `to_boolean`
86
+
87
+ This returns true.
88
+
89
+ **Example:**
90
+
91
+ ```
92
+ ([0 1 2] to_boolean) /* => true */
93
+ ```
94
+
95
+ ## `to_string`
86
96
 
87
97
  This returns a string to represent the array in output.
88
98
 
89
99
  **Example:**
90
100
 
91
101
  ```
92
- ([0 1 2] to_s) /* => "0\n1\n2" */
102
+ ([0 1 2] to_string) /* => "0\n1\n2" */
93
103
  ```
94
104
 
95
105
  ## `inspect`
@@ -47,14 +47,24 @@ another dictionary.
47
47
  /* => @["a" 1 "b" 2 "c" 3] */
48
48
  ```
49
49
 
50
- ## `to_s`
50
+ ## `to_boolean`
51
+
52
+ This returns true.
53
+
54
+ **Example:**
55
+
56
+ ```
57
+ (@["a" 1 "b" 2] to_boolean) /* => true */
58
+ ```
59
+
60
+ ## `to_string`
51
61
 
52
62
  This returns a string to represent the dictionary in output.
53
63
 
54
64
  **Example:**
55
65
 
56
66
  ```
57
- (@["a" 1 "b" 2] to_s) /* => "a 1\nb 2" */
67
+ (@["a" 1 "b" 2] to_string) /* => "a 1\nb 2" */
58
68
  ```
59
69
 
60
70
  ## `inspect`