grouse 1.0.1.1 → 1.0.2
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 +4 -4
- data/grouse.gemspec +3 -3
- data/lib/core.rb +14 -0
- metadata +1 -3
- data/lib/gem_version.rb +0 -9
- data/lib/version.rb +0 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd47bb991ccca0fb4b007d1cbfe0ceee8996aa4f65aa6c4b811c91bcbf9e4265
|
|
4
|
+
data.tar.gz: bcee42ac2018521223a45e239856248033416624d57c5eca9a8bb9fbc548595f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec795ea6102d61f71d488e346f8732ae53bdeca4067c4f24ab2cf2bfea7ad4b044c60e143b2e0463491a5a1a144150a39665782952d369dc0a72eee352f3ad11
|
|
7
|
+
data.tar.gz: 9df422e7a58a1b3a7f16436573d27838a8910d10efec0049200ac17051375776f725dd58bb5f707c9d11a501994a79d318d4015a61e9edfa9523ef9e2ed70152
|
data/grouse.gemspec
CHANGED
|
@@ -4,11 +4,11 @@ lib = File.expand_path('../lib', __FILE__)
|
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
|
6
6
|
require "#{File.dirname(__FILE__)}/req/rubygems"
|
|
7
|
-
require '
|
|
7
|
+
require 'core'
|
|
8
8
|
|
|
9
9
|
Gem::Specification.new do |s|
|
|
10
10
|
s.name = "grouse"
|
|
11
|
-
s.version =
|
|
11
|
+
s.version = CoreNYM.core_version
|
|
12
12
|
s.authors = ["Takayuki Kamiyama"]
|
|
13
13
|
s.email = "karuma.reason@gmail.com"
|
|
14
14
|
s.extra_rdoc_files = [
|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
|
20
20
|
s.licenses = ["MIT"]
|
|
21
21
|
s.require_paths = ["lib"]
|
|
22
22
|
s.required_ruby_version = ['>= 3.0']
|
|
23
|
-
s.required_rubygems_version = '~> 3.6.9' if s.respond_to?
|
|
23
|
+
s.required_rubygems_version = '~> 3.6.9' if s.respond_to? CoreNYM.gem_version
|
|
24
24
|
s.summary = "This project is minimum packages"
|
|
25
25
|
s.description = "nyasocom_sun packages in ROR."
|
|
26
26
|
s.metadata["github_repo"] = "https://github.com/takkii/grouse"
|
data/lib/core.rb
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
require 'open3'
|
|
4
|
+
|
|
3
5
|
# CoreNYM version in .env
|
|
4
6
|
class CoreNYM
|
|
5
7
|
# current date.
|
|
@@ -22,6 +24,18 @@ class CoreNYM
|
|
|
22
24
|
def self.version
|
|
23
25
|
@version = ENV['NYASOCOMSUN_VERSION']
|
|
24
26
|
end
|
|
27
|
+
|
|
28
|
+
# rubygems version
|
|
29
|
+
def self.gem_version
|
|
30
|
+
gversion = 'gem -v'
|
|
31
|
+
stdout_rb, stderr_rb, status_rb = Open3.capture3(gversion)
|
|
32
|
+
version = stdout_rb.to_s
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# nyasocom tools core version
|
|
36
|
+
def self.core_version
|
|
37
|
+
'1.0.2'.to_s
|
|
38
|
+
end
|
|
25
39
|
end
|
|
26
40
|
|
|
27
41
|
__END__
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: grouse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takayuki Kamiyama
|
|
@@ -37,8 +37,6 @@ files:
|
|
|
37
37
|
- grouse.gemspec
|
|
38
38
|
- images/grouse.gif
|
|
39
39
|
- lib/core.rb
|
|
40
|
-
- lib/gem_version.rb
|
|
41
|
-
- lib/version.rb
|
|
42
40
|
- req/rubygems.rb
|
|
43
41
|
homepage: https://github.com/takkii/grouse
|
|
44
42
|
licenses:
|
data/lib/gem_version.rb
DELETED