superscript 0.3.2 → 0.3.3

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: da0938c14b75842785ca944b6eba56a8cd6fcc3fc8115ebadc83214b4ec1680d
4
- data.tar.gz: d1a5292fe31e969c292cbb918052353bae36bddab88854920ab1fac1c1b45e96
3
+ metadata.gz: ac52387838919d5e3aca631bd1d4f01a3e95388cf9606089f2a68af59194a10e
4
+ data.tar.gz: 57ad91b5dbe5520d2b1e5e1b90f1a697f75459eaa46431b207ccb9c0bdb50d3d
5
5
  SHA512:
6
- metadata.gz: e69ed11b7c8ef043e071afbe91046fd6300dc150730abbcf36ee21d9b91d2eba3d61b8a3f115848383316bcba475cf43f47d683ce4ce3b9102b2466c3a9f88f9
7
- data.tar.gz: def954e7c30ee3ace175f207e52cbb078cd5e33f5cb31124e7cd344ab275f08001d4e7dd93d2a1fe538c6ff4c48ee2f2dde01dd0e1984250cc6e83021d47947e
6
+ metadata.gz: b96b4bfac46ace0e24b3b07e60b7b66871f0ad1bb9fe26bb41913b1e56caed4b08a9077121ec1f3adf1dde48d23a318857ca10dd1a97af38de78f5523990f56f
7
+ data.tar.gz: 162333d3db399c975ededd7892376c3bc6cff253af6482247a56c32dda0f50aaa110fd7877a50b8d8829da35cfcc642146b670500757ee8ca5bc16c451fa27d3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superscript (0.3.2)
4
+ superscript (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/exe/superscript CHANGED
@@ -5,8 +5,8 @@ $stdout.sync = true
5
5
  require "bundler/setup"
6
6
  require "superscript"
7
7
 
8
- unless ARGV.length < 2
9
- puts "USAGE: superscript dsl.rb script.rb"
8
+ if ARGV.length == 0
9
+ puts "USAGE: superscript dsl.rb [script.rb]"
10
10
  exit 1
11
11
  end
12
12
 
@@ -17,7 +17,7 @@ module Superscript
17
17
  p [@armed, tp.path, tp.lineno, tp.method_id, tp.event, tp.defined_class]
18
18
  end
19
19
 
20
- if tp.defined_class.name == "BasicObject" && tp.method_id == :instance_eval
20
+ if tp.defined_class&.name == "BasicObject" && tp.method_id == :instance_eval
21
21
  if tp.event == :script_compiled
22
22
  @armed = true
23
23
  elsif tp.event == :c_return
@@ -1,3 +1,3 @@
1
1
  module Superscript
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matti Paksula
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-22 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler