raheui 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/.rubocop_todo.yml +5 -1
- data/.travis.yml +3 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE.txt +1 -1
- data/README.md +3 -2
- data/benchmark/array_fetch.rb +14 -0
- data/benchmark/consonants.rb +24 -0
- data/benchmark/if_case.rb +24 -0
- data/lib/raheui/code.rb +4 -4
- data/lib/raheui/io.rb +5 -0
- data/lib/raheui/runner.rb +2 -2
- data/lib/raheui/version.rb +1 -1
- data/raheui.gemspec +1 -1
- data/spec/raheui/cli_spec.rb +9 -13
- data/spec/raheui/code_spec.rb +2 -4
- data/spec/raheui/io_spec.rb +24 -26
- data/spec/raheui/option_spec.rb +1 -5
- data/spec/raheui/port_spec.rb +0 -2
- data/spec/raheui/queue_spec.rb +0 -2
- data/spec/raheui/runner_spec.rb +0 -2
- data/spec/raheui/stack_spec.rb +0 -2
- data/spec/raheui/store_spec.rb +12 -14
- data/spec/raheui/version_spec.rb +0 -2
- data/spec/spec_helper.rb +2 -0
- data/spec/support/mocked_stdout.rb +10 -0
- data/spec/support/shared_store.rb +0 -2
- metadata +10 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22873318862c9ad2ef89986ad02fd62687c6d724
|
4
|
+
data.tar.gz: c32e7d3a60606ed2ca12debbaffbeda690ff5d3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84cd518b05030d3fcd936a7d7402d9b49681f1cba372a6ee15af072256ac2e02f98450b6411c300bfe5e7c189a50b9d6d5affa27b28843042a56f7f350007c17
|
7
|
+
data.tar.gz: 6f126c4c3bda1c5ad8607e063577fc14dfccc7b20f8ff2e0923c496477a125fd7834e3d43360a96aaf407c1be4d169518d7425792573e8c9949ccbe8c9479d3c
|
data/.rspec
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
# This configuration was generated by `rubocop --auto-gen-config`
|
2
|
-
# on 2014-
|
2
|
+
# on 2014-11-10 16:45:44 +0900 using RuboCop version 0.27.1.
|
3
3
|
# The point is for the user to remove these configuration records
|
4
4
|
# one by one as the offenses are removed from the code base.
|
5
5
|
# Note that changes in the inspected code, or installation of new
|
6
6
|
# versions of RuboCop, may require this file to be generated again.
|
7
7
|
|
8
|
+
# Offense count: 3
|
9
|
+
Metrics/AbcSize:
|
10
|
+
Max: 41
|
11
|
+
|
8
12
|
# Offense count: 1
|
9
13
|
# Configuration parameters: CountComments.
|
10
14
|
Metrics/ClassLength:
|
data/.travis.yml
CHANGED
@@ -3,14 +3,17 @@ rvm:
|
|
3
3
|
- 1.9.3
|
4
4
|
- 2.0.0
|
5
5
|
- 2.1
|
6
|
+
- 2.2
|
6
7
|
- ruby-head
|
7
8
|
- jruby-19mode
|
9
|
+
- jruby-9.0.0.0.pre1
|
8
10
|
- jruby-head
|
9
11
|
- rbx-2
|
10
12
|
matrix:
|
11
13
|
allow_failures:
|
12
14
|
- rvm: ruby-head
|
13
15
|
- rvm: jruby-19mode
|
16
|
+
- rvm: jruby-9.0.0.0.pre1
|
14
17
|
- rvm: jruby-head
|
15
18
|
- rvm: rbx-2
|
16
19
|
before_install:
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
[](https://codeclimate.com/github/yous/raheui)
|
7
7
|
[](https://coveralls.io/r/yous/raheui)
|
8
8
|
[](http://inch-ci.org/github/yous/raheui)
|
9
|
+
[](https://www.omniref.com/ruby/gems/raheui)
|
9
10
|
|
10
11
|
[Aheui][] interpreter in Ruby.
|
11
12
|
|
@@ -47,10 +48,10 @@ Command flag | Description
|
|
47
48
|
Why don't you just try:
|
48
49
|
|
49
50
|
``` sh
|
50
|
-
git log --format=%b -n 1 | raheui
|
51
|
+
git log --format=%b -n 1 d176df4 | raheui
|
51
52
|
```
|
52
53
|
|
53
|
-
Also it works for every commit hash
|
54
|
+
Also it works for every commit hash in `d176df4..5a6bfd0`:
|
54
55
|
|
55
56
|
``` sh
|
56
57
|
git log --format=%b -n 1 <commit> | raheui
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'benchmark/ips'
|
4
|
+
|
5
|
+
matrix = [[0, 1, 2],
|
6
|
+
[3, 4, 5],
|
7
|
+
[6, 7, 8]]
|
8
|
+
|
9
|
+
Benchmark.ips do |x|
|
10
|
+
x.report('fetch with no block') { matrix.fetch(0, []) }
|
11
|
+
x.report('fetch with a block') { matrix.fetch(0) { [] } }
|
12
|
+
x.report('brackets with an ||') { matrix[0] || [] }
|
13
|
+
x.compare!
|
14
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'benchmark/ips'
|
4
|
+
|
5
|
+
ords = 100.times.map { 44_032 + rand(55_203 - 44_032 + 1) }
|
6
|
+
|
7
|
+
def consonants_operation(ord)
|
8
|
+
index = ord - 44_032
|
9
|
+
[index / (21 * 28),
|
10
|
+
(index / 28) % 21,
|
11
|
+
index % 28]
|
12
|
+
end
|
13
|
+
|
14
|
+
def consonants_divmod(ord)
|
15
|
+
initial_medial, final = (ord - 44_032).divmod(28)
|
16
|
+
initial, medial = initial_medial.divmod(21)
|
17
|
+
[initial, medial, final]
|
18
|
+
end
|
19
|
+
|
20
|
+
Benchmark.ips do |x|
|
21
|
+
x.report('operations') { ords.map { |n| consonants_operation(n) } }
|
22
|
+
x.report('divmod') { ords.map { |n| consonants_divmod(n) } }
|
23
|
+
x.compare!
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'benchmark/ips'
|
4
|
+
|
5
|
+
ords = 100.times.map { 44_032 + rand(55_203 - 44_032 + 1) }
|
6
|
+
chars = ords.map { |n| n.chr(Encoding::UTF_8) }
|
7
|
+
|
8
|
+
def range_if(char)
|
9
|
+
ord = char.ord
|
10
|
+
char if 44_032 <= ord && ord <= 55_203
|
11
|
+
end
|
12
|
+
|
13
|
+
def range_case(char)
|
14
|
+
case char.ord
|
15
|
+
when 44_032..55_203
|
16
|
+
char
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
Benchmark.ips do |x|
|
21
|
+
x.report('if') { chars.each { |char| range_if(char) } }
|
22
|
+
x.report('case') { chars.each { |char| range_case(char) } }
|
23
|
+
x.compare!
|
24
|
+
end
|
data/lib/raheui/code.rb
CHANGED
@@ -70,7 +70,7 @@ module Raheui
|
|
70
70
|
# Returns an Array consists of consonants or an empty Array when there is no
|
71
71
|
# element in the position.
|
72
72
|
def [](x, y)
|
73
|
-
@matrix
|
73
|
+
(@matrix[y] || [])[x] || []
|
74
74
|
end
|
75
75
|
|
76
76
|
private
|
@@ -93,9 +93,9 @@ module Raheui
|
|
93
93
|
# Returns an Array of index of consonants or empty Array if the character is
|
94
94
|
# not an Korean alphabet.
|
95
95
|
def consonants(ch)
|
96
|
-
|
97
|
-
|
98
|
-
index =
|
96
|
+
ord = ch.ord
|
97
|
+
if 44_032 <= ord && ord <= 55_203 # '가'..'힣'
|
98
|
+
index = ord - 44_032
|
99
99
|
[index / (MEDIAL_CONSONANTS * FINAL_CONSONANTS),
|
100
100
|
(index / FINAL_CONSONANTS) % MEDIAL_CONSONANTS,
|
101
101
|
index % FINAL_CONSONANTS]
|
data/lib/raheui/io.rb
CHANGED
@@ -53,6 +53,11 @@ module Raheui
|
|
53
53
|
#
|
54
54
|
# Returns nothing.
|
55
55
|
def self.print_chr(value)
|
56
|
+
# See https://github.com/jruby/jruby/issues/1921.
|
57
|
+
if RUBY_PLATFORM == 'java' &&
|
58
|
+
(0xD800 <= value && value <= 0xDFFF || value > 0x10_FFFF)
|
59
|
+
fail RangeError, "invalid codepoint 0x#{value.to_s(16).upcase} in UTF-8"
|
60
|
+
end
|
56
61
|
$stdout.print value.chr(Encoding::UTF_8)
|
57
62
|
rescue RangeError
|
58
63
|
$stdout.print format('[U+%04X]', value)
|
data/lib/raheui/runner.rb
CHANGED
@@ -175,8 +175,8 @@ module Raheui
|
|
175
175
|
delta = MEDIAL_DELTAS[medial]
|
176
176
|
if delta
|
177
177
|
x, y = delta
|
178
|
-
x = x == :+ ? @delta.x : -@delta.x if x.is_a?
|
179
|
-
y = y == :+ ? @delta.y : -@delta.y if y.is_a?
|
178
|
+
x = x == :+ ? @delta.x : -@delta.x if x.is_a?(Symbol)
|
179
|
+
y = y == :+ ? @delta.y : -@delta.y if y.is_a?(Symbol)
|
180
180
|
[x, y]
|
181
181
|
else
|
182
182
|
[@delta.x, @delta.y]
|
data/lib/raheui/version.rb
CHANGED
data/raheui.gemspec
CHANGED
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
23
23
|
spec.add_development_dependency 'rake', '~> 10.0'
|
24
24
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
25
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
25
|
+
spec.add_development_dependency 'rubocop', '~> 0.29.0'
|
26
26
|
spec.add_development_dependency 'simplecov', '~> 0.9'
|
27
27
|
end
|
data/spec/raheui/cli_spec.rb
CHANGED
@@ -1,16 +1,12 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
3
|
describe Raheui::CLI do
|
6
4
|
include FileHelper
|
7
5
|
include_context 'isolated environment'
|
6
|
+
include_context 'mocked stdout'
|
8
7
|
|
9
8
|
subject(:cli) { described_class.new }
|
10
9
|
|
11
|
-
before(:example) { $stdout = StringIO.new }
|
12
|
-
after(:example) { $stdout = STDOUT }
|
13
|
-
|
14
10
|
it 'runs aheui file passed as an argument' do
|
15
11
|
create_file('helloworld.aheui', %w(밤밣따빠밣밟따뿌
|
16
12
|
빠맣파빨받밤뚜뭏
|
@@ -26,14 +22,14 @@ describe Raheui::CLI do
|
|
26
22
|
|
27
23
|
it 'runs string passed as an stdin argument' do
|
28
24
|
allow($stdin).to receive(:read).once
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
25
|
+
.and_return(%w(밤밣따빠밣밟따뿌
|
26
|
+
빠맣파빨받밤뚜뭏
|
27
|
+
돋밬탕빠맣붏두붇
|
28
|
+
볻뫃박발뚷투뭏붖
|
29
|
+
뫃도뫃희멓뭏뭏붘
|
30
|
+
뫃봌토범더벌뿌뚜
|
31
|
+
뽑뽀멓멓더벓뻐뚠
|
32
|
+
뽀덩벐멓뻐덕더벅).join("\n"))
|
37
33
|
expect(cli.run([])).to be(0)
|
38
34
|
expect($stdout.string).to eq("Hello, world!\n")
|
39
35
|
end
|
data/spec/raheui/code_spec.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
3
|
describe Raheui::Code do
|
6
4
|
shared_examples 'a code' do
|
7
5
|
subject(:code) { Raheui::Code.new(code_str) }
|
@@ -101,8 +99,8 @@ describe Raheui::Code do
|
|
101
99
|
medial * FINAL_CONSONANTS +
|
102
100
|
final
|
103
101
|
).chr(Encoding::UTF_8)
|
104
|
-
expect(consonants.call(alphabet))
|
105
|
-
|
102
|
+
expect(consonants.call(alphabet))
|
103
|
+
.to match_array([initial, medial, final])
|
106
104
|
end
|
107
105
|
end
|
108
106
|
|
data/spec/raheui/io_spec.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
3
|
describe Raheui::IO do
|
6
4
|
describe '.read_int' do
|
7
5
|
let(:value) { rand(-100..100) }
|
@@ -10,7 +8,7 @@ describe Raheui::IO do
|
|
10
8
|
|
11
9
|
it 'reads an integer' do
|
12
10
|
allow($stdin).to receive(:gets).with(no_args).once
|
13
|
-
|
11
|
+
.and_return("#{value}\n")
|
14
12
|
expect(subject.read_int).to be(value)
|
15
13
|
end
|
16
14
|
end
|
@@ -21,7 +19,7 @@ describe Raheui::IO do
|
|
21
19
|
it 'reads an ASCII code' do
|
22
20
|
[0, *32..126].each do |value|
|
23
21
|
allow($stdin).to receive(:getc).with(no_args).once
|
24
|
-
|
22
|
+
.and_return(value.chr)
|
25
23
|
expect(subject.read_chr).to be(value)
|
26
24
|
end
|
27
25
|
end
|
@@ -29,7 +27,7 @@ describe Raheui::IO do
|
|
29
27
|
it 'reads an control character' do
|
30
28
|
[*1..31, *127..159].each do |value|
|
31
29
|
allow($stdin).to receive(:getc).with(no_args).once
|
32
|
-
|
30
|
+
.and_return(value.chr)
|
33
31
|
expect(subject.read_chr).to be(value)
|
34
32
|
end
|
35
33
|
end
|
@@ -40,55 +38,55 @@ describe Raheui::IO do
|
|
40
38
|
*10.times.map { rand(0xE000..0x10FFFF).chr(Encoding::UTF_8) }.uniq,
|
41
39
|
'가', 'あ', '漢', ' ', 'å', '★'].each do |chr|
|
42
40
|
allow($stdin).to receive(:getc).with(no_args).once
|
43
|
-
|
41
|
+
.and_return(chr)
|
44
42
|
expect(subject.read_chr).to be(chr.ord)
|
45
43
|
end
|
46
44
|
end
|
47
45
|
end
|
48
46
|
|
49
|
-
describe '.print_int' do
|
47
|
+
describe '.print_int', :mocked_stdout do
|
50
48
|
let(:value) { rand(-100..100) }
|
51
49
|
|
52
50
|
it { is_expected.to respond_to(:print_int) }
|
53
51
|
|
54
52
|
it 'prints an integer' do
|
55
|
-
allow($stdout).to receive(:print).with(value).once
|
56
53
|
expect(subject.print_int(value)).to be_nil
|
54
|
+
expect($stdout.string).to eq(value.to_s)
|
57
55
|
end
|
58
56
|
end
|
59
57
|
|
60
|
-
describe '.print_chr' do
|
58
|
+
describe '.print_chr', :mocked_stdout do
|
61
59
|
it { is_expected.to respond_to(:print_chr) }
|
62
60
|
|
63
|
-
|
64
|
-
|
65
|
-
allow($stdout).to receive(:print).with(value.chr).once
|
61
|
+
[0, *32..126].each do |value|
|
62
|
+
it "prints an ASCII character corresponding character code #{value}" do
|
66
63
|
expect(subject.print_chr(value)).to be_nil
|
64
|
+
expect($stdout.string).to eq(value.chr)
|
67
65
|
end
|
68
66
|
end
|
69
67
|
|
70
|
-
|
71
|
-
|
72
|
-
allow($stdout).to receive(:print).with(value.chr(Encoding::UTF_8)).once
|
68
|
+
[*1..31, *127..159].each do |value|
|
69
|
+
it "prints an control character corresponding character code #{value}" do
|
73
70
|
expect(subject.print_chr(value)).to be_nil
|
71
|
+
expect($stdout.string).to eq(value.chr(Encoding::UTF_8))
|
74
72
|
end
|
75
73
|
end
|
76
74
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
expect(
|
75
|
+
[*10.times.map { rand(160..0xD7FF) }.uniq,
|
76
|
+
# Range 0xD800..0xDFFF is used by UTF-16.
|
77
|
+
*10.times.map { rand(0xE000..0x10FFFF) }.uniq,
|
78
|
+
*['가', 'あ', '漢', ' ', 'å', '★'].map(&:ord)].each do |value|
|
79
|
+
it "prints an unicode character corresponding character code #{value}" do
|
80
|
+
expect(subject.print_chr(value)).to be_nil
|
81
|
+
expect($stdout.string).to eq(value.chr(Encoding::UTF_8))
|
84
82
|
end
|
85
83
|
end
|
86
84
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
allow($stdout).to receive(:print).with(format('[U+%04X]', value)).once
|
85
|
+
[*10.times.map { rand(0xD800..0xDFFF) }.uniq,
|
86
|
+
0x110000].each do |value|
|
87
|
+
it "prints an #{format('[U+%04X]', value)} when RangeError is raised" do
|
91
88
|
expect(subject.print_chr(value)).to be_nil
|
89
|
+
expect($stdout.string).to eq(format('[U+%04X]', value))
|
92
90
|
end
|
93
91
|
end
|
94
92
|
end
|
data/spec/raheui/option_spec.rb
CHANGED
@@ -1,15 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
3
|
describe Raheui::Option do
|
6
4
|
include ExitCodeMatchers
|
5
|
+
include_context 'mocked stdout'
|
7
6
|
|
8
7
|
subject(:option) { described_class.new }
|
9
8
|
|
10
|
-
before(:example) { $stdout = StringIO.new }
|
11
|
-
after(:example) { $stdout = STDOUT }
|
12
|
-
|
13
9
|
describe 'option' do
|
14
10
|
describe '-h/--help' do
|
15
11
|
it 'exits cleanly' do
|
data/spec/raheui/port_spec.rb
CHANGED
data/spec/raheui/queue_spec.rb
CHANGED
data/spec/raheui/runner_spec.rb
CHANGED
data/spec/raheui/stack_spec.rb
CHANGED
data/spec/raheui/store_spec.rb
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
3
|
describe Raheui::Store do
|
6
4
|
let(:base_methods) { Raheui::Store.const_get(:BASE_METHODS) }
|
7
5
|
let(:error_msg) { 'base methods are not implemented: %s' }
|
8
6
|
|
9
7
|
describe '#initialize' do
|
10
8
|
it 'raises NotImplementedError' do
|
11
|
-
expect { subject }
|
12
|
-
|
13
|
-
|
9
|
+
expect { subject }
|
10
|
+
.to raise_error(NotImplementedError,
|
11
|
+
format(error_msg, base_methods.join(', ')))
|
14
12
|
end
|
15
13
|
|
16
14
|
context 'with implemented push' do
|
@@ -21,9 +19,9 @@ describe Raheui::Store do
|
|
21
19
|
|
22
20
|
it 'raises NotImplementedError' do
|
23
21
|
expect(base_methods - methods).to contain_exactly(:push)
|
24
|
-
expect { subject }
|
25
|
-
|
26
|
-
|
22
|
+
expect { subject }
|
23
|
+
.to raise_error(NotImplementedError,
|
24
|
+
format(error_msg, methods.join(', ')))
|
27
25
|
end
|
28
26
|
end
|
29
27
|
|
@@ -35,9 +33,9 @@ describe Raheui::Store do
|
|
35
33
|
|
36
34
|
it 'raises NotImplementedError' do
|
37
35
|
expect(base_methods - methods).to contain_exactly(:pop)
|
38
|
-
expect { subject }
|
39
|
-
|
40
|
-
|
36
|
+
expect { subject }
|
37
|
+
.to raise_error(NotImplementedError,
|
38
|
+
format(error_msg, methods.join(', ')))
|
41
39
|
end
|
42
40
|
end
|
43
41
|
|
@@ -49,9 +47,9 @@ describe Raheui::Store do
|
|
49
47
|
|
50
48
|
it 'raises NotImplementedError' do
|
51
49
|
expect(base_methods - methods).to contain_exactly(:swap)
|
52
|
-
expect { subject }
|
53
|
-
|
54
|
-
|
50
|
+
expect { subject }
|
51
|
+
.to raise_error(NotImplementedError,
|
52
|
+
format(error_msg, methods.join(', ')))
|
55
53
|
end
|
56
54
|
end
|
57
55
|
|
data/spec/raheui/version_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raheui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ChaYoung You
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.29.0
|
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: 0.
|
68
|
+
version: 0.29.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,6 +98,9 @@ files:
|
|
98
98
|
- LICENSE.txt
|
99
99
|
- README.md
|
100
100
|
- Rakefile
|
101
|
+
- benchmark/array_fetch.rb
|
102
|
+
- benchmark/consonants.rb
|
103
|
+
- benchmark/if_case.rb
|
101
104
|
- bin/raheui
|
102
105
|
- lib/raheui.rb
|
103
106
|
- lib/raheui/cli.rb
|
@@ -125,6 +128,7 @@ files:
|
|
125
128
|
- spec/support/exit_code_matchers.rb
|
126
129
|
- spec/support/file_helper.rb
|
127
130
|
- spec/support/isolated_environment.rb
|
131
|
+
- spec/support/mocked_stdout.rb
|
128
132
|
- spec/support/shared_store.rb
|
129
133
|
homepage: ''
|
130
134
|
licenses:
|
@@ -146,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
150
|
version: '0'
|
147
151
|
requirements: []
|
148
152
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.4.6
|
150
154
|
signing_key:
|
151
155
|
specification_version: 4
|
152
156
|
summary: Aheui interpreter in Ruby.
|
@@ -165,4 +169,5 @@ test_files:
|
|
165
169
|
- spec/support/exit_code_matchers.rb
|
166
170
|
- spec/support/file_helper.rb
|
167
171
|
- spec/support/isolated_environment.rb
|
172
|
+
- spec/support/mocked_stdout.rb
|
168
173
|
- spec/support/shared_store.rb
|