lox 0.1.4 → 0.1.5
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/.github/workflows/ruby.yml +20 -0
- data/.gitignore +5 -0
- data/.rubocop.yml +4 -1
- data/.travis.yml +1 -3
- data/CODE_OF_CONDUCT.md +10 -10
- data/Gemfile +27 -2
- data/Gemfile.lock +9 -67
- data/LICENSE.txt +1 -1
- data/README.md +12 -6
- data/Rakefile +3 -1
- data/bin/console +1 -0
- data/exe/lox +1 -0
- data/lib/lox.rb +2 -0
- data/lib/lox/cli.rb +2 -0
- data/lib/lox/console.rb +2 -0
- data/lib/lox/formatter.rb +2 -0
- data/lib/lox/lexical_analyzer.rb +2 -0
- data/lib/lox/lexical_analyzer/invalid_character.rb +2 -0
- data/lib/lox/lexical_analyzer/invalid_state.rb +2 -0
- data/lib/lox/lexical_analyzer/unterminated_string.rb +2 -0
- data/lib/lox/scanner.rb +2 -0
- data/lib/lox/version.rb +3 -1
- data/lib/lox/write.rb +2 -0
- data/lox.gemspec +12 -19
- metadata +10 -148
- data/bin/mutant +0 -3
- data/bin/mutant-all +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7da528af982715fa453ee8687eacda18b8ed26aef35979de27067db857f24be
|
|
4
|
+
data.tar.gz: 9ae77320f7c85c755463c0e09e19cc73f9c0b312674b6d60e6730c7950796eee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82e29b4b42a17dd0b86d439df8b77cd88ac0a60fc7efc4976c3ae69a6f513ab7e44dbee95baa8e9f8661b2145d5cb646a4b36aa77d60401f86fc4beb8c12a1db
|
|
7
|
+
data.tar.gz: eb762f25b65b7d1ed59876dd31f7c1e6b6009616ec4efe2f613312b622640df1843e9c4e51451ae24351ee02ea4dbfdd8ae8f06afec9997a627ab873f177762e
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Ruby
|
|
2
|
+
|
|
3
|
+
on: [push]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
build:
|
|
7
|
+
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v2
|
|
12
|
+
- name: Set up Ruby 2.6
|
|
13
|
+
uses: actions/setup-ruby@v1
|
|
14
|
+
with:
|
|
15
|
+
ruby-version: 2.6.x
|
|
16
|
+
- name: Build and test with Rake
|
|
17
|
+
run: |
|
|
18
|
+
gem install bundler
|
|
19
|
+
bundle install --jobs 4 --retry 3
|
|
20
|
+
bundle exec rake
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
|
@@ -2,7 +2,7 @@ require: rubocop-rspec
|
|
|
2
2
|
|
|
3
3
|
AllCops:
|
|
4
4
|
EnabledByDefault: true
|
|
5
|
-
TargetRubyVersion: 2.
|
|
5
|
+
TargetRubyVersion: 2.3
|
|
6
6
|
|
|
7
7
|
Metrics/BlockLength:
|
|
8
8
|
Exclude:
|
|
@@ -17,3 +17,6 @@ Style/Documentation:
|
|
|
17
17
|
|
|
18
18
|
Style/DocumentationMethod:
|
|
19
19
|
Enabled: false
|
|
20
|
+
|
|
21
|
+
Style/MissingElse:
|
|
22
|
+
Enabled: false
|
data/.travis.yml
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
-
sudo: false
|
|
3
2
|
language: ruby
|
|
4
3
|
cache: bundler
|
|
5
4
|
rvm:
|
|
6
|
-
- 2.2
|
|
7
5
|
- 2.3
|
|
8
6
|
- 2.4
|
|
9
7
|
- 2.5
|
|
10
8
|
- 2.6
|
|
11
|
-
before_install: gem install bundler -v 1.
|
|
9
|
+
before_install: gem install bundler -v 2.1.4
|
|
12
10
|
before_script:
|
|
13
11
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
14
12
|
- chmod +x ./cc-test-reporter
|
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -22,8 +22,7 @@ include:
|
|
|
22
22
|
|
|
23
23
|
Examples of unacceptable behavior by participants include:
|
|
24
24
|
|
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
-
advances
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
|
27
26
|
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
27
|
* Public or private harassment
|
|
29
28
|
* Publishing others' private information, such as a physical or electronic
|
|
@@ -37,11 +36,11 @@ Project maintainers are responsible for clarifying the standards of acceptable
|
|
|
37
36
|
behavior and are expected to take appropriate and fair corrective action in
|
|
38
37
|
response to any instances of unacceptable behavior.
|
|
39
38
|
|
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
-
comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
-
not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
-
contributor for other behaviors that they deem inappropriate,
|
|
44
|
-
offensive, or harmful.
|
|
39
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
40
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
41
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
42
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
43
|
+
threatening, offensive, or harmful.
|
|
45
44
|
|
|
46
45
|
## Scope
|
|
47
46
|
|
|
@@ -69,7 +68,8 @@ members of the project's leadership.
|
|
|
69
68
|
## Attribution
|
|
70
69
|
|
|
71
70
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
72
|
-
version 1.4, available at
|
|
71
|
+
version 1.4, available at
|
|
72
|
+
[https://contributor-covenant.org/version/1/4][version]
|
|
73
73
|
|
|
74
|
-
[homepage]:
|
|
75
|
-
[version]:
|
|
74
|
+
[homepage]: https://contributor-covenant.org
|
|
75
|
+
[version]: https://contributor-covenant.org/version/1/4/
|
data/Gemfile
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
source('https://rubygems.org')
|
|
4
4
|
|
|
5
5
|
# Specify your gem's dependencies in lox.gemspec
|
|
6
6
|
gemspec
|
|
7
|
+
|
|
8
|
+
# A runtime developer console and IRB alternative with powerful introspection
|
|
9
|
+
# capabilities.
|
|
10
|
+
gem('pry')
|
|
11
|
+
|
|
12
|
+
# A make-like build utility for Ruby.
|
|
13
|
+
gem('rake', '>= 12.3.3')
|
|
14
|
+
|
|
15
|
+
# Provide a standard and simplified way to build and package Ruby C and Java
|
|
16
|
+
# extensions using Rake as glue.
|
|
17
|
+
gem('rake-compiler')
|
|
18
|
+
|
|
19
|
+
# RSpec meta-gem that depends on the other components
|
|
20
|
+
gem('rspec', '~> 3.0')
|
|
21
|
+
|
|
22
|
+
# A Ruby static code analyzer and formatter, based on the community Ruby style
|
|
23
|
+
# guide.
|
|
24
|
+
gem('rubocop', require: false)
|
|
25
|
+
|
|
26
|
+
# Code style checking for RSpec files
|
|
27
|
+
gem('rubocop-rspec', require: false)
|
|
28
|
+
|
|
29
|
+
# Code coverage for Ruby 1.9+ with a powerful configuration library and
|
|
30
|
+
# automatic merging of coverage across test suites
|
|
31
|
+
gem('simplecov', require: false)
|
data/Gemfile.lock
CHANGED
|
@@ -1,76 +1,30 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lox (0.1.
|
|
4
|
+
lox (0.1.5)
|
|
5
5
|
thor
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
abstract_type (0.0.7)
|
|
11
|
-
adamantium (0.2.0)
|
|
12
|
-
ice_nine (~> 0.11.0)
|
|
13
|
-
memoizable (~> 0.4.0)
|
|
14
|
-
anima (0.3.0)
|
|
15
|
-
abstract_type (~> 0.0.7)
|
|
16
|
-
adamantium (~> 0.2)
|
|
17
|
-
equalizer (~> 0.0.11)
|
|
18
10
|
ast (2.4.0)
|
|
19
|
-
byebug (10.0.2)
|
|
20
11
|
coderay (1.1.2)
|
|
21
|
-
concord (0.1.5)
|
|
22
|
-
adamantium (~> 0.2.0)
|
|
23
|
-
equalizer (~> 0.0.9)
|
|
24
12
|
diff-lcs (1.3)
|
|
25
13
|
docile (1.3.1)
|
|
26
|
-
equalizer (0.0.11)
|
|
27
|
-
ice_nine (0.11.2)
|
|
28
14
|
jaro_winkler (1.5.2)
|
|
29
15
|
json (2.1.0)
|
|
30
|
-
memoizable (0.4.2)
|
|
31
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
|
32
16
|
method_source (0.9.2)
|
|
33
|
-
morpher (0.2.6)
|
|
34
|
-
abstract_type (~> 0.0.7)
|
|
35
|
-
adamantium (~> 0.2.0)
|
|
36
|
-
anima (~> 0.3.0)
|
|
37
|
-
ast (~> 2.2)
|
|
38
|
-
concord (~> 0.1.5)
|
|
39
|
-
equalizer (~> 0.0.9)
|
|
40
|
-
ice_nine (~> 0.11.0)
|
|
41
|
-
procto (~> 0.0.2)
|
|
42
|
-
mutant (0.8.24)
|
|
43
|
-
abstract_type (~> 0.0.7)
|
|
44
|
-
adamantium (~> 0.2.0)
|
|
45
|
-
anima (~> 0.3.0)
|
|
46
|
-
ast (~> 2.2)
|
|
47
|
-
concord (~> 0.1.5)
|
|
48
|
-
diff-lcs (~> 1.3)
|
|
49
|
-
equalizer (~> 0.0.9)
|
|
50
|
-
ice_nine (~> 0.11.1)
|
|
51
|
-
memoizable (~> 0.4.2)
|
|
52
|
-
morpher (~> 0.2.6)
|
|
53
|
-
parser (~> 2.5.1)
|
|
54
|
-
procto (~> 0.0.2)
|
|
55
|
-
regexp_parser (~> 1.2)
|
|
56
|
-
unparser (~> 0.4.2)
|
|
57
|
-
mutant-rspec (0.8.24)
|
|
58
|
-
mutant (~> 0.8.24)
|
|
59
|
-
rspec-core (>= 3.4.0, < 4.0.0)
|
|
60
17
|
parallel (1.12.1)
|
|
61
18
|
parser (2.5.3.0)
|
|
62
19
|
ast (~> 2.4.0)
|
|
63
20
|
powerpack (0.1.2)
|
|
64
|
-
procto (0.0.3)
|
|
65
21
|
pry (0.12.2)
|
|
66
22
|
coderay (~> 1.1.0)
|
|
67
23
|
method_source (~> 0.9.0)
|
|
68
|
-
pry-byebug (3.6.0)
|
|
69
|
-
byebug (~> 10.0)
|
|
70
|
-
pry (~> 0.10)
|
|
71
24
|
rainbow (3.0.0)
|
|
72
|
-
rake (12.3.
|
|
73
|
-
|
|
25
|
+
rake (12.3.3)
|
|
26
|
+
rake-compiler (1.1.0)
|
|
27
|
+
rake
|
|
74
28
|
rspec (3.8.0)
|
|
75
29
|
rspec-core (~> 3.8.0)
|
|
76
30
|
rspec-expectations (~> 3.8.0)
|
|
@@ -100,33 +54,21 @@ GEM
|
|
|
100
54
|
json (>= 1.8, < 3)
|
|
101
55
|
simplecov-html (~> 0.10.0)
|
|
102
56
|
simplecov-html (0.10.2)
|
|
103
|
-
thor (0.
|
|
104
|
-
thread_safe (0.3.6)
|
|
57
|
+
thor (1.0.1)
|
|
105
58
|
unicode-display_width (1.4.1)
|
|
106
|
-
unparser (0.4.2)
|
|
107
|
-
abstract_type (~> 0.0.7)
|
|
108
|
-
adamantium (~> 0.2.0)
|
|
109
|
-
concord (~> 0.1.5)
|
|
110
|
-
diff-lcs (~> 1.3)
|
|
111
|
-
equalizer (~> 0.0.9)
|
|
112
|
-
parser (>= 2.3.1.2, < 2.6)
|
|
113
|
-
procto (~> 0.0.2)
|
|
114
59
|
|
|
115
60
|
PLATFORMS
|
|
116
61
|
ruby
|
|
117
62
|
|
|
118
63
|
DEPENDENCIES
|
|
119
|
-
bundler
|
|
120
64
|
lox!
|
|
121
|
-
mutant
|
|
122
|
-
mutant-rspec
|
|
123
65
|
pry
|
|
124
|
-
|
|
125
|
-
rake
|
|
126
|
-
rspec
|
|
66
|
+
rake (>= 12.3.3)
|
|
67
|
+
rake-compiler
|
|
68
|
+
rspec (~> 3.0)
|
|
127
69
|
rubocop
|
|
128
70
|
rubocop-rspec
|
|
129
71
|
simplecov
|
|
130
72
|
|
|
131
73
|
BUNDLED WITH
|
|
132
|
-
1.
|
|
74
|
+
2.1.4
|
data/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2017-
|
|
3
|
+
Copyright (c) 2017-2020 Richard E. Dodson
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
# Lox
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/lox)
|
|
4
|
+

|
|
4
5
|
[](https://travis-ci.org/rdodson41/ruby-lox)
|
|
5
6
|
[](https://codeclimate.com/github/rdodson41/ruby-lox/maintainability)
|
|
6
7
|
[](https://codeclimate.com/github/rdodson41/ruby-lox/test_coverage)
|
|
7
8
|
|
|
8
9
|
The `lox` gem is an implementation of the
|
|
9
|
-
[Lox Language](https://
|
|
10
|
-
|
|
10
|
+
[Lox Language](https://www.craftinginterpreters.com/the-lox-language.html) that
|
|
11
|
+
is written in Ruby.
|
|
11
12
|
|
|
12
13
|
## Installation
|
|
13
14
|
|
|
@@ -19,11 +20,15 @@ gem 'lox'
|
|
|
19
20
|
|
|
20
21
|
And then execute:
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
```bash
|
|
24
|
+
bundle install
|
|
25
|
+
```
|
|
23
26
|
|
|
24
27
|
Or install it yourself as:
|
|
25
28
|
|
|
26
|
-
|
|
29
|
+
```bash
|
|
30
|
+
gem install lox
|
|
31
|
+
```
|
|
27
32
|
|
|
28
33
|
## Development
|
|
29
34
|
|
|
@@ -42,7 +47,8 @@ version, push git commits and tags, and push the `.gem` file to
|
|
|
42
47
|
Bug reports and pull requests are welcome on GitHub at
|
|
43
48
|
<https://github.com/rdodson41/ruby-lox>. This project is intended to be a safe,
|
|
44
49
|
welcoming space for collaboration, and contributors are expected to adhere to
|
|
45
|
-
the
|
|
50
|
+
the
|
|
51
|
+
[code of conduct](https://github.com/rdodson41/ruby-lox/blob/master/CODE_OF_CONDUCT.md).
|
|
46
52
|
|
|
47
53
|
## License
|
|
48
54
|
|
|
@@ -51,6 +57,6 @@ The gem is available as open source under the terms of the
|
|
|
51
57
|
|
|
52
58
|
## Code of Conduct
|
|
53
59
|
|
|
54
|
-
Everyone interacting in the Lox project
|
|
60
|
+
Everyone interacting in the Lox project's codebases, issue trackers, chat rooms
|
|
55
61
|
and mailing lists is expected to follow the
|
|
56
62
|
[code of conduct](https://github.com/rdodson41/ruby-lox/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
data/exe/lox
CHANGED
data/lib/lox.rb
CHANGED
data/lib/lox/cli.rb
CHANGED
data/lib/lox/console.rb
CHANGED
data/lib/lox/formatter.rb
CHANGED
data/lib/lox/lexical_analyzer.rb
CHANGED
data/lib/lox/scanner.rb
CHANGED
data/lib/lox/version.rb
CHANGED
data/lib/lox/write.rb
CHANGED
data/lox.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative('lib/lox/version')
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'lox'
|
|
@@ -8,15 +8,20 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.authors = ['Richard E. Dodson']
|
|
9
9
|
spec.email = ['richard.elias.dodson@gmail.com']
|
|
10
10
|
|
|
11
|
-
spec.summary = 'An implementation of the Lox Language
|
|
12
|
-
|
|
11
|
+
spec.summary = 'An implementation of the Lox Language that is ' \
|
|
12
|
+
'written in Ruby.'
|
|
13
13
|
spec.homepage = 'https://github.com/rdodson41/ruby-lox'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
|
16
|
+
|
|
17
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
|
18
|
+
spec.metadata['source_code_uri'] = 'https://github.com/rdodson41/ruby-lox'
|
|
19
|
+
spec.metadata['changelog_uri'] = 'https://github.com/rdodson41/ruby-lox/issues'
|
|
15
20
|
|
|
16
21
|
# Specify which files should be added to the gem when it is released.
|
|
17
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added
|
|
18
23
|
# into git.
|
|
19
|
-
spec.files
|
|
24
|
+
spec.files =
|
|
20
25
|
Dir.chdir(File.expand_path(__dir__)) do
|
|
21
26
|
`git ls-files -z`.split("\x0").reject do |f|
|
|
22
27
|
f.match(%r{^(test|spec|features)/})
|
|
@@ -25,19 +30,7 @@ Gem::Specification.new do |spec|
|
|
|
25
30
|
spec.bindir = 'exe'
|
|
26
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
27
32
|
spec.require_paths = ['lib']
|
|
33
|
+
spec.extensions = []
|
|
28
34
|
|
|
29
35
|
spec.add_dependency('thor')
|
|
30
|
-
|
|
31
|
-
spec.add_development_dependency('bundler')
|
|
32
|
-
spec.add_development_dependency('mutant')
|
|
33
|
-
spec.add_development_dependency('mutant-rspec')
|
|
34
|
-
spec.add_development_dependency('pry')
|
|
35
|
-
spec.add_development_dependency('pry-byebug')
|
|
36
|
-
spec.add_development_dependency('rake')
|
|
37
|
-
spec.add_development_dependency('rspec')
|
|
38
|
-
spec.add_development_dependency('rubocop')
|
|
39
|
-
spec.add_development_dependency('rubocop-rspec')
|
|
40
|
-
spec.add_development_dependency('simplecov')
|
|
41
|
-
|
|
42
|
-
spec.required_ruby_version = '>= 2.2.0'
|
|
43
36
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard E. Dodson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -24,146 +24,6 @@ dependencies:
|
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: bundler
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - ">="
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - ">="
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: mutant
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - ">="
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0'
|
|
48
|
-
type: :development
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - ">="
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: mutant-rspec
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - ">="
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
62
|
-
type: :development
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - ">="
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: pry
|
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
|
72
|
-
requirements:
|
|
73
|
-
- - ">="
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0'
|
|
76
|
-
type: :development
|
|
77
|
-
prerelease: false
|
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
-
requirements:
|
|
80
|
-
- - ">="
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0'
|
|
83
|
-
- !ruby/object:Gem::Dependency
|
|
84
|
-
name: pry-byebug
|
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
|
86
|
-
requirements:
|
|
87
|
-
- - ">="
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: '0'
|
|
90
|
-
type: :development
|
|
91
|
-
prerelease: false
|
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
-
requirements:
|
|
94
|
-
- - ">="
|
|
95
|
-
- !ruby/object:Gem::Version
|
|
96
|
-
version: '0'
|
|
97
|
-
- !ruby/object:Gem::Dependency
|
|
98
|
-
name: rake
|
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - ">="
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: '0'
|
|
104
|
-
type: :development
|
|
105
|
-
prerelease: false
|
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
-
requirements:
|
|
108
|
-
- - ">="
|
|
109
|
-
- !ruby/object:Gem::Version
|
|
110
|
-
version: '0'
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: rspec
|
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
|
114
|
-
requirements:
|
|
115
|
-
- - ">="
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: '0'
|
|
118
|
-
type: :development
|
|
119
|
-
prerelease: false
|
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
requirements:
|
|
122
|
-
- - ">="
|
|
123
|
-
- !ruby/object:Gem::Version
|
|
124
|
-
version: '0'
|
|
125
|
-
- !ruby/object:Gem::Dependency
|
|
126
|
-
name: rubocop
|
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
|
128
|
-
requirements:
|
|
129
|
-
- - ">="
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
version: '0'
|
|
132
|
-
type: :development
|
|
133
|
-
prerelease: false
|
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
-
requirements:
|
|
136
|
-
- - ">="
|
|
137
|
-
- !ruby/object:Gem::Version
|
|
138
|
-
version: '0'
|
|
139
|
-
- !ruby/object:Gem::Dependency
|
|
140
|
-
name: rubocop-rspec
|
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
|
142
|
-
requirements:
|
|
143
|
-
- - ">="
|
|
144
|
-
- !ruby/object:Gem::Version
|
|
145
|
-
version: '0'
|
|
146
|
-
type: :development
|
|
147
|
-
prerelease: false
|
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
-
requirements:
|
|
150
|
-
- - ">="
|
|
151
|
-
- !ruby/object:Gem::Version
|
|
152
|
-
version: '0'
|
|
153
|
-
- !ruby/object:Gem::Dependency
|
|
154
|
-
name: simplecov
|
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
|
156
|
-
requirements:
|
|
157
|
-
- - ">="
|
|
158
|
-
- !ruby/object:Gem::Version
|
|
159
|
-
version: '0'
|
|
160
|
-
type: :development
|
|
161
|
-
prerelease: false
|
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
-
requirements:
|
|
164
|
-
- - ">="
|
|
165
|
-
- !ruby/object:Gem::Version
|
|
166
|
-
version: '0'
|
|
167
27
|
description:
|
|
168
28
|
email:
|
|
169
29
|
- richard.elias.dodson@gmail.com
|
|
@@ -172,6 +32,7 @@ executables:
|
|
|
172
32
|
extensions: []
|
|
173
33
|
extra_rdoc_files: []
|
|
174
34
|
files:
|
|
35
|
+
- ".github/workflows/ruby.yml"
|
|
175
36
|
- ".gitignore"
|
|
176
37
|
- ".reek.yml"
|
|
177
38
|
- ".rspec"
|
|
@@ -185,8 +46,6 @@ files:
|
|
|
185
46
|
- README.md
|
|
186
47
|
- Rakefile
|
|
187
48
|
- bin/console
|
|
188
|
-
- bin/mutant
|
|
189
|
-
- bin/mutant-all
|
|
190
49
|
- bin/setup
|
|
191
50
|
- exe/lox
|
|
192
51
|
- lib/lox.rb
|
|
@@ -204,7 +63,10 @@ files:
|
|
|
204
63
|
homepage: https://github.com/rdodson41/ruby-lox
|
|
205
64
|
licenses:
|
|
206
65
|
- MIT
|
|
207
|
-
metadata:
|
|
66
|
+
metadata:
|
|
67
|
+
homepage_uri: https://github.com/rdodson41/ruby-lox
|
|
68
|
+
source_code_uri: https://github.com/rdodson41/ruby-lox
|
|
69
|
+
changelog_uri: https://github.com/rdodson41/ruby-lox/issues
|
|
208
70
|
post_install_message:
|
|
209
71
|
rdoc_options: []
|
|
210
72
|
require_paths:
|
|
@@ -213,15 +75,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
213
75
|
requirements:
|
|
214
76
|
- - ">="
|
|
215
77
|
- !ruby/object:Gem::Version
|
|
216
|
-
version: 2.
|
|
78
|
+
version: 2.3.0
|
|
217
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
80
|
requirements:
|
|
219
81
|
- - ">="
|
|
220
82
|
- !ruby/object:Gem::Version
|
|
221
83
|
version: '0'
|
|
222
84
|
requirements: []
|
|
223
|
-
rubygems_version: 3.
|
|
85
|
+
rubygems_version: 3.1.2
|
|
224
86
|
signing_key:
|
|
225
87
|
specification_version: 4
|
|
226
|
-
summary: An implementation of the Lox Language
|
|
88
|
+
summary: An implementation of the Lox Language that is written in Ruby.
|
|
227
89
|
test_files: []
|
data/bin/mutant
DELETED
data/bin/mutant-all
DELETED