rbl 0.0.3 → 0.0.4

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: bb61811ee15ffdf9821aa52f67751351c5e90ef3
4
- data.tar.gz: d2cd8b2b2bd7ea016ca0fc92f0c6ef26d85ce643
3
+ metadata.gz: e0c45704ab8c82b9f4d22ff2b09e893637268825
4
+ data.tar.gz: 6f92595032263d7d955814b7f781818edfabdd8b
5
5
  SHA512:
6
- metadata.gz: 919acef907ef91143712b6f312b2299f1a3823d790144b75fd449d08f70b3938ad9c8c7c348b0cccc9ab4dd0ed98f8b25d53d5309b723cf42f0abb8062b838d7
7
- data.tar.gz: 99ff8000fcefc9541f0ffdd25ccc2bf8f625929725a2757cdc5a7c3b3edefeb28ef3e59d6a302b2b57d1a0e95785270d942e51e80cbfa4bdf006aaf02ccf5220
6
+ metadata.gz: 4a216b4f765b5755b3c8b7f01d7079e9d547219c70e0434155114e2c01dccd9d57e21273d99ea121765a9d6137b5ca31219ace852e12aa654edc6fcb1d863568
7
+ data.tar.gz: 19d1a9786dae75dcb96180a4ac483b5470f3f4f3fcc3c4884139e2884d21af774330ff4fffe9c1c1582f212cd781b77f7cb2eceed895996d8ceec653f5d28baf
data/bin/rbl CHANGED
@@ -13,15 +13,13 @@ USAGE = <<~HEREDOC
13
13
  #{File.basename $0} <filename>
14
14
  HEREDOC
15
15
 
16
- if __FILE__ == $0
17
- case ARGV.length
18
- when 0
19
- RubyLisp::REPL::start
20
- when 1
21
- file_contents = File.read ARGV[0]
22
- input = file_contents.gsub(/\A#!.*\n/, '')
23
- puts RubyLisp::Parser.parse(input)
24
- else
25
- puts USAGE
26
- end
16
+ case ARGV.length
17
+ when 0
18
+ RubyLisp::REPL::start
19
+ when 1
20
+ file_contents = File.read ARGV[0]
21
+ input = file_contents.gsub(/\A#!.*\n/, '')
22
+ puts RubyLisp::Parser.parse(input)
23
+ else
24
+ puts USAGE
27
25
  end
@@ -1,3 +1,3 @@
1
1
  module RubyLisp
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/rubylisp/repl.rbl CHANGED
@@ -1,2 +1 @@
1
1
  ; TODO
2
- (Kernel::puts "Loaded rubylisp.repl")
data/rubylisp.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  end
27
27
  spec.bindir = "bin"
28
28
  spec.executables = ['rbl']
29
- spec.require_paths = ["lib"]
29
+ spec.require_paths = ['lib', 'rubylisp']
30
30
 
31
31
  spec.add_development_dependency "rake", "~> 10.0"
32
32
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Yarwood
@@ -91,6 +91,7 @@ post_install_message:
91
91
  rdoc_options: []
92
92
  require_paths:
93
93
  - lib
94
+ - rubylisp
94
95
  required_ruby_version: !ruby/object:Gem::Requirement
95
96
  requirements:
96
97
  - - ">="