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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 581e586d5ff682536275cb9ef04f4ab11aa12301
4
- data.tar.gz: 07e843cb59fe5de5caa9e94c1b3ec5b96525f5de
3
+ metadata.gz: 22873318862c9ad2ef89986ad02fd62687c6d724
4
+ data.tar.gz: c32e7d3a60606ed2ca12debbaffbeda690ff5d3e
5
5
  SHA512:
6
- metadata.gz: d8bc571645db7369416ad9f80015d97ba61cf5523fd347be21f6ab5a346ec1d4bf6c9654cca2059fd3f1e8cd0c5d5946ceb61a84fab97df683072b288b6b47dc
7
- data.tar.gz: 39ae310c94eb6cc0466f79094973bce74ed5d4b8608c2e5068763399abf26157b7ff125f021a7ee4f68a03bc41e84b592895de1d2e3f0f0b3105a333fa3c3ce2
6
+ metadata.gz: 84cd518b05030d3fcd936a7d7402d9b49681f1cba372a6ee15af072256ac2e02f98450b6411c300bfe5e7c189a50b9d6d5affa27b28843042a56f7f350007c17
7
+ data.tar.gz: 6f126c4c3bda1c5ad8607e063577fc14dfccc7b20f8ff2e0923c496477a125fd7834e3d43360a96aaf407c1be4d169518d7425792573e8c9949ccbe8c9479d3c
data/.rspec CHANGED
@@ -1 +1,2 @@
1
1
  --color
2
+ --require spec_helper
data/.rubocop_todo.yml CHANGED
@@ -1,10 +1,14 @@
1
1
  # This configuration was generated by `rubocop --auto-gen-config`
2
- # on 2014-09-07 02:19:23 +0900 using RuboCop version 0.26.0.
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
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2 (2015-02-27)
4
+
5
+ - Support JRuby
6
+ - Improve performance of `Code#[]` and `Code#consonants`
7
+
3
8
  ## 1.0.1 (2014-09-09)
4
9
 
5
10
  - Improve performance of `Code#consonants`
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 ChaYoung You
1
+ Copyright (c) 2014-2015 ChaYoung You
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -6,6 +6,7 @@
6
6
  [![Code Climate](https://codeclimate.com/github/yous/raheui/badges/gpa.svg)](https://codeclimate.com/github/yous/raheui)
7
7
  [![Coverage Status](https://img.shields.io/coveralls/yous/raheui.svg)](https://coveralls.io/r/yous/raheui)
8
8
  [![Inline docs](http://inch-ci.org/github/yous/raheui.svg?branch=master)](http://inch-ci.org/github/yous/raheui)
9
+ [![raheui API Documentation](https://www.omniref.com/ruby/gems/raheui.png)](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.fetch(y, []).fetch(x, [])
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
- case ch.ord
97
- when 44_032..55_203 # '가'..'힣'
98
- index = ch.ord - 44_032 # 가
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? Symbol
179
- y = y == :+ ? @delta.y : -@delta.y if y.is_a? Symbol
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]
@@ -3,6 +3,6 @@
3
3
  module Raheui
4
4
  # Holds the Raheui version information.
5
5
  module Version
6
- STRING = '1.0.1'
6
+ STRING = '1.0.2'
7
7
  end
8
8
  end
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.26.0'
25
+ spec.add_development_dependency 'rubocop', '~> 0.29.0'
26
26
  spec.add_development_dependency 'simplecov', '~> 0.9'
27
27
  end
@@ -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
- .and_return(%w(밤밣따빠밣밟따뿌
30
- 빠맣파빨받밤뚜뭏
31
- 돋밬탕빠맣붏두붇
32
- 볻뫃박발뚷투뭏붖
33
- 뫃도뫃희멓뭏뭏붘
34
- 뫃봌토범더벌뿌뚜
35
- 뽑뽀멓멓더벓뻐뚠
36
- 뽀덩벐멓뻐덕더벅).join("\n"))
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
@@ -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)).to match_array(
105
- [initial, medial, final])
102
+ expect(consonants.call(alphabet))
103
+ .to match_array([initial, medial, final])
106
104
  end
107
105
  end
108
106
 
@@ -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
- .and_return("#{value}\n")
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
- .and_return(value.chr)
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
- .and_return(value.chr)
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
- .and_return(chr)
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
- it 'prints an ASCII character corresponding character code' do
64
- [0, *32..126].each do |value|
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
- it 'prints an control character corresponding character code' do
71
- [*1..31, *127..159].each do |value|
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
- it 'prints an unicode character corresponding character code' do
78
- [*10.times.map { rand(160..0xD7FF).chr(Encoding::UTF_8) }.uniq,
79
- # Range 0xD800..0xDFFF is used by UTF-16.
80
- *10.times.map { rand(0xE000..0x10FFFF).chr(Encoding::UTF_8) }.uniq,
81
- '가', 'あ', '漢', ' ', 'å', '★'].each do |chr|
82
- allow($stdout).to receive(:print).with(chr).once
83
- expect(subject.print_chr(chr.ord)).to be_nil
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
- it 'prints an [U+%04X] string when RangeError is raised' do
88
- [*10.times.map { rand(0xD800..0xDFFF) }.uniq,
89
- 0x110000].each do |value|
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
@@ -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
@@ -1,7 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'spec_helper'
4
-
5
3
  describe Raheui::Port do
6
4
  it_behaves_like 'a store'
7
5
  end
@@ -1,7 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'spec_helper'
4
-
5
3
  describe Raheui::Queue do
6
4
  it_behaves_like 'a store'
7
5
 
@@ -1,7 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'spec_helper'
4
-
5
3
  shared_examples 'a runner' do
6
4
  subject(:runner) { Raheui::Runner.new(code) }
7
5
  let(:code) { Raheui::Code.new(source) }
@@ -1,7 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'spec_helper'
4
-
5
3
  describe Raheui::Stack do
6
4
  it_behaves_like 'a store'
7
5
 
@@ -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 }.to raise_error(
12
- NotImplementedError,
13
- format(error_msg, base_methods.join(', ')))
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 }.to raise_error(
25
- NotImplementedError,
26
- format(error_msg, methods.join(', ')))
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 }.to raise_error(
39
- NotImplementedError,
40
- format(error_msg, methods.join(', ')))
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 }.to raise_error(
53
- NotImplementedError,
54
- format(error_msg, methods.join(', ')))
50
+ expect { subject }
51
+ .to raise_error(NotImplementedError,
52
+ format(error_msg, methods.join(', ')))
55
53
  end
56
54
  end
57
55
 
@@ -1,7 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'spec_helper'
4
-
5
3
  describe Raheui::Version do
6
4
  describe '::STRING' do
7
5
  it { expect(defined? subject::STRING).to eql('constant') }
data/spec/spec_helper.rb CHANGED
@@ -9,7 +9,9 @@ if ENV['TRAVIS'] || ENV['COVERAGE']
9
9
  end
10
10
 
11
11
  SimpleCov.start do
12
+ add_filter '/benchmark/'
12
13
  add_filter '/spec/'
14
+ add_filter '/vendor/'
13
15
  end
14
16
  end
15
17
 
@@ -0,0 +1,10 @@
1
+ # encoding: utf-8
2
+
3
+ shared_context 'mocked stdout', :mocked_stdout do
4
+ around do |example|
5
+ stdout = $stdout
6
+ $stdout = StringIO.new
7
+ example.run
8
+ $stdout = stdout
9
+ end
10
+ end
@@ -1,7 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'spec_helper'
4
-
5
3
  shared_examples 'a store' do
6
4
  describe '#push' do
7
5
  it { is_expected.to respond_to(:push) }
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.1
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: 2014-09-08 00:00:00.000000000 Z
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.26.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.26.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.2.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