first_gem_hello_world 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/bin/first_gem_hello_world +18 -0
- data/first_gem_hello_world-0.0.0.gem +0 -0
- data/first_gem_hello_world.gemspec +21 -0
- data/lib/first_gem_hello_world.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b1ed850afc0d46a5a5a5e34a11f1ccc86e41909
|
4
|
+
data.tar.gz: d87860f178e43bd136b8349df4b10f17a68e28b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1002a21dd7a22106284ff525281fb96ced5029dfc19ded3b3c997ef64c492812e189a41651954b738bb6d6d454805ec266ab6ef3e143cf2c156216d15f094f6d
|
7
|
+
data.tar.gz: 9e2f734c2dfc446c462db8bd5aea772ebc274baffcdfae506f6dab34c50f355ab617bc21b73faa134d49bc70f800eac1b94e11238db6054d224fdf353aee5e19
|
data/.gitignore
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'optparse'
|
3
|
+
|
4
|
+
require './lib/first_gem_hello_world'
|
5
|
+
|
6
|
+
OptionParser.new do |parser|
|
7
|
+
parser.banner = <<BANNER
|
8
|
+
FirstGemHelloWorld can say him self version)
|
9
|
+
|
10
|
+
Usage:
|
11
|
+
first_gem_hello_world
|
12
|
+
|
13
|
+
Options:
|
14
|
+
BANNER
|
15
|
+
parser.on('-v', '--version', 'Show Version'){ puts FirstGemHelloWorld::VERSION; exit}
|
16
|
+
parser.on('-h', '--help', 'Show this.') { puts parser; exit }
|
17
|
+
parser.on { puts parser; exit }
|
18
|
+
end.parse!
|
Binary file
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require './lib/first_gem_hello_world'
|
2
|
+
|
3
|
+
Gem::Specification.new 'first_gem_hello_world' do |s|
|
4
|
+
s.version = FirstGemHelloWorld::VERSION
|
5
|
+
s.homepage = 'http://rubygems.org/gems/first_gem_hello_world'
|
6
|
+
s.date = '2014-06-25'
|
7
|
+
s.summary = 'First gem hello world'
|
8
|
+
s.description = 'A simple hello world gem'
|
9
|
+
s.author = 'Vladislav Petrov'
|
10
|
+
s.email = 'electronicchest@gmail.com'
|
11
|
+
s.license = 'MIT'
|
12
|
+
s.platform = Gem::Platform::RUBY
|
13
|
+
|
14
|
+
s.required_ruby_version = '>= 2.1.2'
|
15
|
+
s.required_rubygems_version = '>= 2.3.0'
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ['lib']
|
21
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: first_gem_hello_world
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladislav Petrov
|
@@ -12,10 +12,15 @@ date: 2014-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
13
13
|
description: A simple hello world gem
|
14
14
|
email: electronicchest@gmail.com
|
15
|
-
executables:
|
15
|
+
executables:
|
16
|
+
- first_gem_hello_world
|
16
17
|
extensions: []
|
17
18
|
extra_rdoc_files: []
|
18
19
|
files:
|
20
|
+
- ".gitignore"
|
21
|
+
- bin/first_gem_hello_world
|
22
|
+
- first_gem_hello_world-0.0.0.gem
|
23
|
+
- first_gem_hello_world.gemspec
|
19
24
|
- lib/first_gem_hello_world.rb
|
20
25
|
- lib/hello.rb
|
21
26
|
homepage: http://rubygems.org/gems/first_gem_hello_world
|