d0ne1s_hello_world 0.1.0 → 0.2.0

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: 6d6784f87c42dbe3f54b9815da41a062b61220a702cec7802c1ca17f726d489f
4
- data.tar.gz: b5a310c01795cf9cdfbb991a9424f82d752ac6828a9d7e22aeaf5ed52fe5a63f
3
+ metadata.gz: a46fd7280168316c34d92bc26233566dd32903626a707a750486f96f1f38dc7b
4
+ data.tar.gz: c66c5639dcbf3f676dc19138a9bde5561825295c1169d16a9d5b8140528752ac
5
5
  SHA512:
6
- metadata.gz: 9c8aa9841822f9f9145ddc7d0e5386df716be8aba2d74600c783c63698e58df95eaf44b053282c3136c776a52b9c5d490f86e476155ca4d3a2dee252584e4d99
7
- data.tar.gz: 8af0b9aaddb9e924b571a76ad7f226de2493b5bc98ac6ff82c9d05a46ecb022222d3ff05a5c65f62b9d334537602a356854b18e0e1293b6dd36c1ed92d91c308
6
+ metadata.gz: 7846553d9b3aa286e97d8fae4fca6901ffe32e2f4d016f08a27e3aed6786a8b3c005dbb18dea00df327b99f89972cb97f3d2cac58641fc62a28b9285ab4a13f6
7
+ data.tar.gz: 7836094943022d00f0a74e01974748304670e56049adc3e7bf72366c921c7fb19d2cbadb59fd7c4cc1af0a4d7bf05734c3e2d585004aef06989a4b9745ea17f1
data/bin/hello ADDED
@@ -0,0 +1,3 @@
1
+ require_relative '../lib/d0ne1s_hello_world'
2
+
3
+ D0ne1sHelloWorld.hello_from_command_line
Binary file
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
26
26
  (File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor])
27
27
  end
28
28
  end
29
- spec.bindir = "exe"
30
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
+ spec.bindir = 'bin'
30
+ spec.executables = ['hello']
31
31
  spec.require_paths = ["lib"]
32
32
 
33
33
  # Uncomment to register a new dependency of your gem
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module D0ne1sHelloWorld
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
@@ -8,4 +8,8 @@ module D0ne1sHelloWorld
8
8
  def self.hello
9
9
  "Hello World"
10
10
  end
11
+
12
+ def self.hello_from_command_line
13
+ "Hello from command line!"
14
+ end
11
15
  end
metadata CHANGED
@@ -1,25 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: d0ne1s_hello_world
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tsubasa namatame
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-21 00:00:00.000000000 Z
11
+ date: 2023-04-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Gemの構造を理解するために、HelloWorldするためのgemを作りました。
14
14
  email:
15
15
  - nyshk97@gmail.com
16
- executables: []
16
+ executables:
17
+ - hello
17
18
  extensions: []
18
19
  extra_rdoc_files: []
19
20
  files:
20
21
  - Gemfile
21
22
  - README.md
22
23
  - Rakefile
24
+ - bin/hello
25
+ - d0ne1s_hello_world-0.1.0.gem
23
26
  - d0ne1s_hello_world.gemspec
24
27
  - lib/d0ne1s_hello_world.rb
25
28
  - lib/d0ne1s_hello_world/version.rb