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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17cb31ace64d7d1a46f70b23e9a073212f3bcb3e8842e4f4224da6cff25e296b
4
- data.tar.gz: '0965751e0b4897431841da431590440f154842e7eb5bc4662cda63018a4eb051'
3
+ metadata.gz: ec8b815ecbc965b1e6831bf20821bad606b4f8a2a81dbebc52f7028ead2d13e3
4
+ data.tar.gz: 7f59ba6cff6c82a64865b70722cbdd48f72af974d3ccceb22b9ca19a5c8323a7
5
5
  SHA512:
6
- metadata.gz: 1d2767ef1954647b024472d8b833f3f8791223c3845e23928f43f5213be66ea3f4d02b61b17ee698f3021c3dfedc41e3dac2c08a2db7aa5be8b6027d07079861
7
- data.tar.gz: e5058462b086903f674203f877859f16c64046935980dff3771d41adf4da5297b5183697b8cb90fd68be06c1b495961b3b15a3520fa17abb35497dff20ec8400
6
+ metadata.gz: c025b4ce94158d23a2fe4915858e7ea5ee2c34bf68d57168faea7dba1c725101368c529def76c46f76316c783061f63a011bf64cf459fe61b51f5fe70d289ad4
7
+ data.tar.gz: 8dcb69a71ac4c093dd2f04c1b90ff9d931e6e7c93f8bf68e298329a310e657c685a3b229320e418fcb237562cfa7b1b9154a475ff2c60e2f2ca09e07e8c15c6e
data/.rubocop.yml ADDED
@@ -0,0 +1,7 @@
1
+ require: rubocop-rspec
2
+
3
+ AllCops:
4
+ EnabledByDefault: true
5
+
6
+ Style/Copyright:
7
+ Enabled: false
data/.travis.yml CHANGED
@@ -3,7 +3,6 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.1
7
6
  - 2.2
8
7
  - 2.3
9
8
  - 2.4
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 TODO: Write your email address. All
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 "https://rubygems.org"
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.3)
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
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018 Richard E. Dodson
3
+ Copyright (c) 2018-2019 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
@@ -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
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/oxide`. To experiment with that code, run `bin/console` for an interactive prompt.
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/[USERNAME]/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.
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/[USERNAME]/oxide/blob/master/CODE_OF_CONDUCT.md).
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
@@ -1,6 +1,6 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
1
+ require('bundler/gem_tasks')
2
+ require('rspec/core/rake_task')
3
3
 
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
- task :default => :spec
6
+ task(default: :spec)
data/bin/console CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "bundler/setup"
4
- require "oxide"
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
- # require "pry"
11
- # Pry.start
10
+ require('pry')
11
+ Pry.start
12
12
 
13
- require "irb"
14
- IRB.start(__FILE__)
13
+ # require('irb')
14
+ # IRB.start(__FILE__)
data/exe/oxide CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "oxide"
3
+ require 'oxide'
data/lib/oxide/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Oxide
2
- VERSION = "0.1.3"
2
+ VERSION = '0.1.4'.freeze
3
3
  end
data/lib/oxide.rb CHANGED
@@ -1,4 +1,4 @@
1
- require "oxide/version"
1
+ require('oxide/version')
2
2
 
3
3
  module Oxide
4
4
  class Error < StandardError; end
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 "oxide/version"
3
+ require('oxide/version')
5
4
 
6
5
  Gem::Specification.new do |spec|
7
- spec.name = "oxide"
6
+ spec.name = 'oxide'
8
7
  spec.version = Oxide::VERSION
9
- spec.authors = ["Richard E. Dodson"]
10
- spec.email = ["richard.elias.dodson@gmail.com"]
8
+ spec.authors = ['Richard E. Dodson']
9
+ spec.email = ['richard.elias.dodson@gmail.com']
11
10
 
12
- spec.summary = %q{An implementation of the Oxide Programming Language which is written in Ruby.}
13
- spec.homepage = "https://github.com/rdodson41/ruby-oxide"
14
- spec.license = "MIT"
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 into git.
18
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
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 = "exe"
24
+ spec.bindir = 'exe'
22
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
- spec.require_paths = ["lib"]
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.add_development_dependency "bundler", "~> 1.17"
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.3
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: '0'
162
+ version: 2.2.0
106
163
  required_rubygems_version: !ruby/object:Gem::Requirement
107
164
  requirements:
108
165
  - - ">="