rubie 0.1.0 → 0.1.1

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: 9db5c2e1eddedc311a983830babab39f88ec7512
4
- data.tar.gz: 025ad7bf3a051b3e5ee0310829069ccd345ac9d8
3
+ metadata.gz: '09e42a40f02c8dfe653175eab6ac0419414daf66'
4
+ data.tar.gz: 3e37f37dc7935bf680a8109401d369ad89881d27
5
5
  SHA512:
6
- metadata.gz: '081bb3764b235a74c2ea493e75d04d2dd4d916606d172e29bc45dac35a38e6eceadee49d22f5fd2f347c4b339fee0257dc9ceac687412969e7aa357bf0996620'
7
- data.tar.gz: a7657cd7eab27178d32a93dd0294b47af7c234b43360d91f3ceaa692e20976d120288dc641e94eecbab22dee64dab7ca5050eacfe78763eadca68c824eceec4a
6
+ metadata.gz: f00faadd72319e7f392b814d42f2661d95d046f00d09875b2d6e4a96561bd4597326bc2fe5b11556a094605bfcc5d194e2c0bab056c93ecec35430699d035f19
7
+ data.tar.gz: e207a87c36c495d0e3b471be89d936528b8a3e2cda979c1837e7ea7e30cbf21232011280f321790af29b26acd371ce3ebe9a51d14fb919a0a59e6d6d2a7b27f3
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require 'rubie'
3
+
4
+ Rubie::Interpreter.exec
@@ -1,7 +1,7 @@
1
1
  module Rubie
2
2
  class Interpreter
3
3
  def self.exec
4
- world = Object.new.__binding__
4
+ world = Object.new.send(:binding)
5
5
 
6
6
  puts 'おはよう、今日も私と一緒に遊んでくれるんだねっ!嬉しい!'
7
7
  while true
@@ -1,3 +1,3 @@
1
1
  module Rubie
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
- lib = File.expand_path("../lib", __FILE__)
2
+ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'rubie/version'
5
5
 
@@ -17,9 +17,9 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
18
  f.match(%r{^(test|spec|features)/})
19
19
  end
20
- spec.bindir = 'exe'
21
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
- spec.require_paths = ["lib"]
20
+ spec.bindir = 'bin'
21
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
22
+ spec.require_paths = ['lib']
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.15'
25
25
  spec.add_development_dependency 'rake', '~> 10.0'
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takumu Uyama
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2017-10-08 00:00:00.000000000 Z
12
12
  dependencies:
@@ -69,7 +69,10 @@ dependencies:
69
69
  description: 彼女のいないRubyiesのためのgem。対話式インタプリタです。
70
70
  email:
71
71
  - sasurai.usagi3@gmail.com
72
- executables: []
72
+ executables:
73
+ - console
74
+ - rubie
75
+ - setup
73
76
  extensions: []
74
77
  extra_rdoc_files: []
75
78
  files:
@@ -84,6 +87,7 @@ files:
84
87
  - bin/console
85
88
  - bin/rubie
86
89
  - bin/setup
90
+ - exe/rubie
87
91
  - lib/rubie.rb
88
92
  - lib/rubie/interpreter.rb
89
93
  - lib/rubie/parse_error_exception.rb