oxide 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -0
- data/.travis.yml +0 -1
- data/CODE_OF_CONDUCT.md +1 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +33 -1
- data/LICENSE.txt +1 -1
- data/README.md +5 -11
- data/Rakefile +3 -3
- data/bin/console +6 -6
- data/exe/oxide +1 -1
- data/lib/oxide/version.rb +1 -1
- data/lib/oxide.rb +1 -1
- data/oxide.gemspec +27 -18
- metadata +59 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec8b815ecbc965b1e6831bf20821bad606b4f8a2a81dbebc52f7028ead2d13e3
|
4
|
+
data.tar.gz: 7f59ba6cff6c82a64865b70722cbdd48f72af974d3ccceb22b9ca19a5c8323a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c025b4ce94158d23a2fe4915858e7ea5ee2c34bf68d57168faea7dba1c725101368c529def76c46f76316c783061f63a011bf64cf459fe61b51f5fe70d289ad4
|
7
|
+
data.tar.gz: 8dcb69a71ac4c093dd2f04c1b90ff9d931e6e7c93f8bf68e298329a310e657c685a3b229320e418fcb237562cfa7b1b9154a475ff2c60e2f2ca09e07e8c15c6e
|
data/.rubocop.yml
ADDED
data/.travis.yml
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|
55
55
|
## Enforcement
|
56
56
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at
|
58
|
+
reported by contacting the project team at <richard.elias.dodson@gmail.com>. All
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
data/Gemfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
source
|
1
|
+
source('https://rubygems.org')
|
2
2
|
|
3
|
-
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
3
|
+
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in oxide.gemspec
|
6
6
|
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,30 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
oxide (0.1.
|
4
|
+
oxide (0.1.4)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
+
ast (2.4.0)
|
10
|
+
byebug (10.0.2)
|
11
|
+
coderay (1.1.2)
|
9
12
|
diff-lcs (1.3)
|
10
13
|
docile (1.3.1)
|
14
|
+
jaro_winkler (1.5.1)
|
11
15
|
json (2.1.0)
|
16
|
+
method_source (0.9.2)
|
17
|
+
parallel (1.12.1)
|
18
|
+
parser (2.5.3.0)
|
19
|
+
ast (~> 2.4.0)
|
20
|
+
powerpack (0.1.2)
|
21
|
+
pry (0.12.2)
|
22
|
+
coderay (~> 1.1.0)
|
23
|
+
method_source (~> 0.9.0)
|
24
|
+
pry-byebug (3.6.0)
|
25
|
+
byebug (~> 10.0)
|
26
|
+
pry (~> 0.10)
|
27
|
+
rainbow (3.0.0)
|
12
28
|
rake (10.5.0)
|
13
29
|
rspec (3.8.0)
|
14
30
|
rspec-core (~> 3.8.0)
|
@@ -23,11 +39,23 @@ GEM
|
|
23
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
24
40
|
rspec-support (~> 3.8.0)
|
25
41
|
rspec-support (3.8.0)
|
42
|
+
rubocop (0.61.1)
|
43
|
+
jaro_winkler (~> 1.5.1)
|
44
|
+
parallel (~> 1.10)
|
45
|
+
parser (>= 2.5, != 2.5.1.1)
|
46
|
+
powerpack (~> 0.1)
|
47
|
+
rainbow (>= 2.2.2, < 4.0)
|
48
|
+
ruby-progressbar (~> 1.7)
|
49
|
+
unicode-display_width (~> 1.4.0)
|
50
|
+
rubocop-rspec (1.30.1)
|
51
|
+
rubocop (>= 0.60.0)
|
52
|
+
ruby-progressbar (1.10.0)
|
26
53
|
simplecov (0.16.1)
|
27
54
|
docile (~> 1.1)
|
28
55
|
json (>= 1.8, < 3)
|
29
56
|
simplecov-html (~> 0.10.0)
|
30
57
|
simplecov-html (0.10.2)
|
58
|
+
unicode-display_width (1.4.1)
|
31
59
|
|
32
60
|
PLATFORMS
|
33
61
|
ruby
|
@@ -35,8 +63,12 @@ PLATFORMS
|
|
35
63
|
DEPENDENCIES
|
36
64
|
bundler (~> 1.17)
|
37
65
|
oxide!
|
66
|
+
pry
|
67
|
+
pry-byebug
|
38
68
|
rake (~> 10.0)
|
39
69
|
rspec (~> 3.0)
|
70
|
+
rubocop
|
71
|
+
rubocop-rspec
|
40
72
|
simplecov
|
41
73
|
|
42
74
|
BUNDLED WITH
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -5,9 +5,7 @@
|
|
5
5
|
[![Maintainability](https://api.codeclimate.com/v1/badges/021f4ab2eb6f6f4473b5/maintainability)](https://codeclimate.com/github/rdodson41/ruby-oxide/maintainability)
|
6
6
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/021f4ab2eb6f6f4473b5/test_coverage)](https://codeclimate.com/github/rdodson41/ruby-oxide/test_coverage)
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
TODO: Delete this and the text above, and describe your gem
|
8
|
+
The `oxide` gem is an implementation of the [Oxide Programming Language](https://github.com/rdodson41/ruby-oxide) which is written in Ruby.
|
11
9
|
|
12
10
|
## Installation
|
13
11
|
|
@@ -25,19 +23,15 @@ Or install it yourself as:
|
|
25
23
|
|
26
24
|
$ gem install oxide
|
27
25
|
|
28
|
-
## Usage
|
29
|
-
|
30
|
-
TODO: Write usage instructions here
|
31
|
-
|
32
26
|
## Development
|
33
27
|
|
34
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
28
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
35
29
|
|
36
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
30
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `lib/oxide/version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
37
31
|
|
38
32
|
## Contributing
|
39
33
|
|
40
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
34
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/rdodson41/ruby-oxide. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
41
35
|
|
42
36
|
## License
|
43
37
|
|
@@ -45,4 +39,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
45
39
|
|
46
40
|
## Code of Conduct
|
47
41
|
|
48
|
-
Everyone interacting in the Oxide project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
42
|
+
Everyone interacting in the Oxide project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rdodson41/ruby-oxide/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require('bundler/setup')
|
4
|
+
require('oxide')
|
5
5
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
8
8
|
|
9
9
|
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
|
11
|
-
|
10
|
+
require('pry')
|
11
|
+
Pry.start
|
12
12
|
|
13
|
-
require
|
14
|
-
IRB.start(__FILE__)
|
13
|
+
# require('irb')
|
14
|
+
# IRB.start(__FILE__)
|
data/exe/oxide
CHANGED
data/lib/oxide/version.rb
CHANGED
data/lib/oxide.rb
CHANGED
data/oxide.gemspec
CHANGED
@@ -1,29 +1,38 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
3
|
+
require('oxide/version')
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
6
|
+
spec.name = 'oxide'
|
8
7
|
spec.version = Oxide::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
8
|
+
spec.authors = ['Richard E. Dodson']
|
9
|
+
spec.email = ['richard.elias.dodson@gmail.com']
|
11
10
|
|
12
|
-
spec.summary =
|
13
|
-
|
14
|
-
spec.
|
11
|
+
spec.summary = 'An implementation of the Oxide Programming Language ' \
|
12
|
+
'which is written in Ruby.'
|
13
|
+
spec.homepage = 'https://github.com/rdodson41/ruby-oxide'
|
14
|
+
spec.license = 'MIT'
|
15
15
|
|
16
16
|
# Specify which files should be added to the gem when it is released.
|
17
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added
|
18
|
-
|
19
|
-
|
17
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added
|
18
|
+
# into git.
|
19
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
20
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
21
|
+
f.match(%r{^(test|spec|features)/})
|
22
|
+
end
|
20
23
|
end
|
21
|
-
spec.bindir =
|
24
|
+
spec.bindir = 'exe'
|
22
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
-
spec.require_paths = [
|
26
|
+
spec.require_paths = ['lib']
|
27
|
+
|
28
|
+
spec.add_development_dependency('bundler', '~> 1.17')
|
29
|
+
spec.add_development_dependency('pry')
|
30
|
+
spec.add_development_dependency('pry-byebug')
|
31
|
+
spec.add_development_dependency('rake', '~> 10.0')
|
32
|
+
spec.add_development_dependency('rspec', '~> 3.0')
|
33
|
+
spec.add_development_dependency('rubocop')
|
34
|
+
spec.add_development_dependency('rubocop-rspec')
|
35
|
+
spec.add_development_dependency('simplecov')
|
24
36
|
|
25
|
-
spec.
|
26
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
28
|
-
spec.add_development_dependency "simplecov"
|
37
|
+
spec.required_ruby_version = '>= 2.2.0'
|
29
38
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oxide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard E. Dodson
|
@@ -24,6 +24,34 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.17'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pry
|
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: pry-byebug
|
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'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rake
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +80,34 @@ dependencies:
|
|
52
80
|
- - "~>"
|
53
81
|
- !ruby/object:Gem::Version
|
54
82
|
version: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
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: rubocop-rspec
|
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'
|
55
111
|
- !ruby/object:Gem::Dependency
|
56
112
|
name: simplecov
|
57
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,6 +132,7 @@ extra_rdoc_files: []
|
|
76
132
|
files:
|
77
133
|
- ".gitignore"
|
78
134
|
- ".rspec"
|
135
|
+
- ".rubocop.yml"
|
79
136
|
- ".simplecov"
|
80
137
|
- ".travis.yml"
|
81
138
|
- CODE_OF_CONDUCT.md
|
@@ -102,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
159
|
requirements:
|
103
160
|
- - ">="
|
104
161
|
- !ruby/object:Gem::Version
|
105
|
-
version:
|
162
|
+
version: 2.2.0
|
106
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
164
|
requirements:
|
108
165
|
- - ">="
|