ruby_engine 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +5 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +14 -12
- data/README.md +38 -0
- data/Rakefile +6 -7
- data/lib/ruby_engine.rb +1 -1
- data/ruby_engine.gemspec +4 -4
- metadata +10 -26
- data/.travis.yml +0 -22
- data/README.rdoc +0 -37
- data/pkg/ruby_engine-1.0.0.gem +0 -0
- data/pkg/ruby_engine-1.0.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c071a280ffec0facc0eba954ef31b519111171095211b8eb4d0404e6a3296492
|
4
|
+
data.tar.gz: ecb2350296bca0c9a35c4e4d74b20b32d71a3ef0207e0832962815b9eba9044f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83ea549f651daed25208467925efe46dc04f6f2c94dbb37ccd1617cf6e02e8e99e3629919b1981e49155799f1464c3d29a2a305981b5caa2840e517787173ab9
|
7
|
+
data.tar.gz: 3f51194fa32c739b912214b838ebce10ea317b4361bfb445643db222aaad371e2024fb77e5646aa00c4576e4cf232d84d2c8bb0eff866594adb63ded41ab1de3
|
data/ChangeLog.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,17 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby_engine (2.0.
|
4
|
+
ruby_engine (2.0.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
diff-lcs (1.
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
diff-lcs (1.4.4)
|
10
|
+
io-console (0.5.9)
|
11
|
+
io-console (0.5.9-java)
|
12
|
+
irb (1.3.7)
|
13
|
+
reline (>= 0.2.7)
|
14
|
+
rake (13.0.6)
|
15
|
+
reline (0.2.7)
|
16
|
+
io-console (~> 0.5)
|
15
17
|
rspec (2.99.0)
|
16
18
|
rspec-core (~> 2.99.0)
|
17
19
|
rspec-expectations (~> 2.99.0)
|
@@ -20,18 +22,18 @@ GEM
|
|
20
22
|
rspec-expectations (2.99.2)
|
21
23
|
diff-lcs (>= 1.1.3, < 2.0)
|
22
24
|
rspec-mocks (2.99.4)
|
23
|
-
rubygems-tasks (0.2.
|
25
|
+
rubygems-tasks (0.2.5)
|
26
|
+
irb (~> 1.0)
|
24
27
|
|
25
28
|
PLATFORMS
|
26
29
|
java
|
27
30
|
ruby
|
28
31
|
|
29
32
|
DEPENDENCIES
|
30
|
-
rake (~>
|
31
|
-
|
32
|
-
rspec (~> 2.4)
|
33
|
+
rake (~> 13.0)
|
34
|
+
rspec (~> 2.99)
|
33
35
|
ruby_engine!
|
34
36
|
rubygems-tasks (~> 0.2)
|
35
37
|
|
36
38
|
BUNDLED WITH
|
37
|
-
2.
|
39
|
+
2.2.22
|
data/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# RubyEngine [<img src="https://badge.fury.io/rb/ruby_engine.svg" alt="Gem Version" />](https://badge.fury.io/rb/ruby_engine) [<img src="https://github.com/janlelis/ruby_engine/workflows/Test/badge.svg" />](https://github.com/janlelis/ruby_engine/actions?query=workflow%3ATest)
|
2
|
+
|
3
|
+
Provides a `RubyEngine` constant for simple Ruby implementation checks.
|
4
|
+
|
5
|
+
## Setup
|
6
|
+
|
7
|
+
On your command-line:
|
8
|
+
|
9
|
+
$ gem install ruby_engine
|
10
|
+
|
11
|
+
In Ruby:
|
12
|
+
|
13
|
+
require 'ruby_engine'
|
14
|
+
|
15
|
+
## Usage
|
16
|
+
|
17
|
+
# Output the interpreter name
|
18
|
+
RubyEngine.to_s
|
19
|
+
|
20
|
+
# true for JRuby
|
21
|
+
RubyEngine.is? 'jruby'
|
22
|
+
|
23
|
+
# There are some query methods defined:
|
24
|
+
RubyEngine.cruby?
|
25
|
+
RubyEngine.jruby?
|
26
|
+
RubyEngine.truffle?
|
27
|
+
|
28
|
+
## Also See
|
29
|
+
|
30
|
+
- https://github.com/janlelis/ruby_version
|
31
|
+
- https://github.com/janlelis/ruby_info
|
32
|
+
- https://github.com/rdp/os
|
33
|
+
- https://github.com/janlelis/irbtools
|
34
|
+
|
35
|
+
## J-_-L
|
36
|
+
|
37
|
+
Copyright (c) 2010-2014, 2020 Jan Lelis. MIT License. Originated from the
|
38
|
+
zucker gem.
|
data/Rakefile
CHANGED
@@ -23,14 +23,13 @@ require 'rake'
|
|
23
23
|
require 'rubygems/tasks'
|
24
24
|
Gem::Tasks.new
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
rdoc.title = "ruby_version"
|
29
|
-
end
|
30
|
-
task :doc => :rdoc
|
26
|
+
# # #
|
27
|
+
# Spec
|
31
28
|
|
32
|
-
|
33
|
-
|
29
|
+
desc "Run Specs"
|
30
|
+
task :spec do
|
31
|
+
sh "rspec"
|
32
|
+
end
|
34
33
|
|
35
34
|
task :test => :spec
|
36
35
|
task :default => :spec
|
data/lib/ruby_engine.rb
CHANGED
data/ruby_engine.gemspec
CHANGED
@@ -12,13 +12,13 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.email = ["hi@ruby.consulting"]
|
13
13
|
gem.homepage = "https://github.com/janlelis/ruby_engine"
|
14
14
|
|
15
|
-
gem.files = Dir[
|
15
|
+
gem.files = Dir["{**/}{.*,*}"].select{ |path| File.file?(path) && path !~ /^pkg/ }
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ['lib']
|
19
|
+
gem.metadata = { "rubygems_mfa_required" => "true" }
|
19
20
|
|
20
|
-
gem.add_development_dependency 'rake', '~>
|
21
|
-
gem.add_development_dependency '
|
22
|
-
gem.add_development_dependency 'rspec', '~> 2.4'
|
21
|
+
gem.add_development_dependency 'rake', '~> 13.0'
|
22
|
+
gem.add_development_dependency 'rspec', '~> 2.99'
|
23
23
|
gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -16,42 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '13.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rdoc
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '3.0'
|
26
|
+
version: '13.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rspec
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
33
|
+
version: '2.99'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
40
|
+
version: '2.99'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: rubygems-tasks
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,23 +62,21 @@ extra_rdoc_files: []
|
|
76
62
|
files:
|
77
63
|
- ".gitignore"
|
78
64
|
- ".rspec"
|
79
|
-
- ".travis.yml"
|
80
65
|
- ChangeLog.md
|
81
66
|
- Gemfile
|
82
67
|
- Gemfile.lock
|
83
68
|
- MIT-LICENSE.txt
|
84
|
-
- README.
|
69
|
+
- README.md
|
85
70
|
- Rakefile
|
86
71
|
- lib/ruby_engine.rb
|
87
|
-
- pkg/ruby_engine-1.0.0.gem
|
88
|
-
- pkg/ruby_engine-1.0.1.gem
|
89
72
|
- ruby_engine.gemspec
|
90
73
|
- spec/ruby_engine_spec.rb
|
91
74
|
- spec/spec_helper.rb
|
92
75
|
homepage: https://github.com/janlelis/ruby_engine
|
93
76
|
licenses:
|
94
77
|
- MIT
|
95
|
-
metadata:
|
78
|
+
metadata:
|
79
|
+
rubygems_mfa_required: 'true'
|
96
80
|
post_install_message:
|
97
81
|
rdoc_options: []
|
98
82
|
require_paths:
|
@@ -108,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
92
|
- !ruby/object:Gem::Version
|
109
93
|
version: '0'
|
110
94
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
95
|
+
rubygems_version: 3.5.3
|
112
96
|
signing_key:
|
113
97
|
specification_version: 4
|
114
98
|
summary: Adds the RubyEngine pseudo-constant.
|
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
|
4
|
-
rvm:
|
5
|
-
- 2.7
|
6
|
-
- 2.6
|
7
|
-
- 2.5
|
8
|
-
- 2.4
|
9
|
-
- 2.3
|
10
|
-
- 2.2
|
11
|
-
- 2.1
|
12
|
-
- 2.0
|
13
|
-
- 1.9
|
14
|
-
- ruby-head
|
15
|
-
- jruby-9.2.9.0
|
16
|
-
- jruby-head
|
17
|
-
- truffleruby
|
18
|
-
- rbx-4
|
19
|
-
|
20
|
-
matrix:
|
21
|
-
allow_failures:
|
22
|
-
- rvm: rbx-4
|
data/README.rdoc
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
= RubyEngine {<img src="https://travis-ci.org/janlelis/ruby_engine.png" />}[https://travis-ci.org/janlelis/ruby_engine]
|
2
|
-
|
3
|
-
Provides a +RubyEngine+ to simplify checking on which implementation your Ruby programs is running.
|
4
|
-
|
5
|
-
== Setup
|
6
|
-
|
7
|
-
On your command-line:
|
8
|
-
|
9
|
-
$ gem install ruby_engine
|
10
|
-
|
11
|
-
In Ruby:
|
12
|
-
|
13
|
-
require 'ruby_engine'
|
14
|
-
|
15
|
-
== Usage
|
16
|
-
|
17
|
-
# Output the interpreter name
|
18
|
-
RubyEngine.to_s
|
19
|
-
|
20
|
-
# true for JRuby
|
21
|
-
RubyEngine.is? 'jruby'
|
22
|
-
|
23
|
-
# There are some query methods defined:
|
24
|
-
RubyEngine.mri?
|
25
|
-
RubyEngine.jruby?
|
26
|
-
RubyEngine.rubinius?
|
27
|
-
RubyEngine.macruby?
|
28
|
-
|
29
|
-
== Also See
|
30
|
-
|
31
|
-
https://github.com/janlelis/ruby_version |
|
32
|
-
https://github.com/janlelis/ruby_info |
|
33
|
-
https://github.com/rdp/os
|
34
|
-
|
35
|
-
== J-_-L
|
36
|
-
|
37
|
-
Copyright (c) 2010-2014, 2020 Jan Lelis. MIT License. Originated from the zucker gem.
|
data/pkg/ruby_engine-1.0.0.gem
DELETED
Binary file
|
data/pkg/ruby_engine-1.0.1.gem
DELETED
Binary file
|