shellopts 2.0.0.pre.7 → 2.0.0.pre.8

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: c7ac01e4c6feb1897f74056a36c74db0cf78802d13437908aa18631ead7c97c5
4
- data.tar.gz: 5443ff421ceb38fcf07aaf87ae7b3740fd804679ccdec377fb195c688c50b57b
3
+ metadata.gz: b967bc79076cae64e2c68c3ef559568a4324d94f7d87800937b746e09755fcfe
4
+ data.tar.gz: 14c6a5866c6b33da7f7a27f050de46d03b7936842c366fb7b32121324f17d7b0
5
5
  SHA512:
6
- metadata.gz: 0d8180a2acc6dac8e234567db9409cd9d01cebe8d4551f6cfa24488ce5d1fb848ec8b42b21d40e7d8f6990bf61e4dc8d482370e9cb4ceb409e3f18fdb70a877c
7
- data.tar.gz: f07d22ab7976d5efa317356fc796f8bbe20b8c6a8ee609eb24106f60e8e56d9874181dcab4e873268b1aea5a1aa27ffd1253bb10499052edd995894c6eec9d88
6
+ metadata.gz: de339ab12a1ef41f75cbb386a6778adc0dca989f64e9180780c1e00276303824dacca681ccba287f746e0bf7b436b717384be48feb02b4b9faf4be3852c533a5
7
+ data.tar.gz: a4b286f8297d56afc672a8e9f21119580496c820a8377a419a1aca1905a08e67a5763ed1aa14678137a9c739f120d673a1227d7a18233b43a482e8c43c603d92
@@ -0,0 +1 @@
1
+ hej
@@ -0,0 +1,10 @@
1
+
2
+ module ShellOpts
3
+ # Gives access to the ruby main object
4
+ module Main
5
+ CALLER_RE = /^.*:in `<main>'$/
6
+ def self.main() TOPLEVEL_BINDING.eval("self") end
7
+ end
8
+ end
9
+
10
+
@@ -1,3 +1,3 @@
1
1
  module Shellopts
2
- VERSION = "2.0.0.pre.7"
2
+ VERSION = "2.0.0.pre.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shellopts
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.7
4
+ version: 2.0.0.pre.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen
@@ -105,6 +105,7 @@ files:
105
105
  - bin/setup
106
106
  - doc/stylesheet.css
107
107
  - lib/ext/array.rb
108
+ - lib/main.rb
108
109
  - lib/shellopts.rb
109
110
  - lib/shellopts/args.rb
110
111
  - lib/shellopts/ast/command.rb
@@ -118,6 +119,7 @@ files:
118
119
  - lib/shellopts/grammar/option.rb
119
120
  - lib/shellopts/grammar/program.rb
120
121
  - lib/shellopts/idr.rb
122
+ - lib/shellopts/main.rb
121
123
  - lib/shellopts/option_struct.rb
122
124
  - lib/shellopts/parser.rb
123
125
  - lib/shellopts/shellopts.rb