gem_liux2 0.0.0 → 0.0.5

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.
data/bin/console CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
-
2
+ require 'rubygems'
3
3
  require "bundler/setup"
4
4
  require "gem_liux2"
5
5
 
data/gem_liux2.gemspec CHANGED
@@ -14,9 +14,8 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "http://www.a.com"
15
15
  spec.license = "MIT"
16
16
 
17
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = "exe"
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
+ spec.files = `git ls-files`.split("\n")
18
+ spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
19
  spec.require_paths = ["lib"]
21
20
 
22
21
  spec.add_development_dependency "bundler", "~> 1.11"
@@ -1,3 +1,3 @@
1
1
  module GemLiux2
2
- VERSION = "0.0.0"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/gem_liux2.rb CHANGED
@@ -1,3 +1,6 @@
1
+ dir = File.dirname(__FILE__)
2
+ $LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
3
+
1
4
  require "gem_liux2/version"
2
5
 
3
6
  module GemLiux2
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_liux2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 0
10
- version: 0.0.0
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - test1
14
14
  autorequire:
15
- bindir: exe
15
+ bindir: bin
16
16
  cert_chain: []
17
17
 
18
18
  date: 2015-12-23 00:00:00 Z
@@ -50,8 +50,9 @@ dependencies:
50
50
  description: test1
51
51
  email:
52
52
  - test1@a.com
53
- executables: []
54
-
53
+ executables:
54
+ - console
55
+ - setup
55
56
  extensions: []
56
57
 
57
58
  extra_rdoc_files: []