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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3354d40f63330188ef8dc0ec2b0009a1ec232db1
4
- data.tar.gz: 22160fb555a76e21d8b341b4c0edb3f49c42b895
3
+ metadata.gz: 4b1ed850afc0d46a5a5a5e34a11f1ccc86e41909
4
+ data.tar.gz: d87860f178e43bd136b8349df4b10f17a68e28b2
5
5
  SHA512:
6
- metadata.gz: 2aecd5c94fe08ad98ae3f01d84d3f42e1197dd85f0a596c5eb03208869e26be3b8cbd8083b081c1ed7b64ed1727d9c63a19f68c4c656f3a3a1f5bd98d2a2ec6f
7
- data.tar.gz: f92ef275f82baa4b8cf8cbf2b27cc5fa54460491117e65ee150cd8b0bcc50991073393f7c4b4950e90caf7664875347262e7f6416f29723a77605f905ed33fa1
6
+ metadata.gz: 1002a21dd7a22106284ff525281fb96ced5029dfc19ded3b3c997ef64c492812e189a41651954b738bb6d6d454805ec266ab6ef3e143cf2c156216d15f094f6d
7
+ data.tar.gz: 9e2f734c2dfc446c462db8bd5aea772ebc274baffcdfae506f6dab34c50f355ab617bc21b73faa134d49bc70f800eac1b94e11238db6054d224fdf353aee5e19
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
@@ -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
@@ -1,3 +1,3 @@
1
1
  module FirstGemHelloWorld
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  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.1
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