gear 0.0.5 → 0.0.6

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/gear.gemspec +1 -1
  3. data/lib/gear.rb +10 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52ec2b75b9c3c1f69e6ee7c2d687148efc491f03
4
- data.tar.gz: a72a598a1208694472ae0b5936ab5adda5e0c0eb
3
+ metadata.gz: eb64c208e25eab1187e52fe173e181517da7b213
4
+ data.tar.gz: 00912a791424ccaa562fb4d910b175fac9b170db
5
5
  SHA512:
6
- metadata.gz: 4c1e16764ad6f7dc652cbaa1e58ee700834d6a9000a0ff5902c8f903467a617ad7a554aedbb6061ab1801ff2f45255aca6fa04a8de127dffc8499f929c39c88b
7
- data.tar.gz: 54586e48d4dc46bc1d129a091ea03e7967c6c69f8522f6227027a80ce4e6bbe9cb8b37dcfd13b716efecba2b55be103873eb95ef860068777233f81d01ad407e
6
+ metadata.gz: 71337edcf01a01b1d9595893f3dbf4e675830f042983f3548fada5e19589d6cde00ef4d6cad024688d8aae369642414d1c2099de160952ad99bf98a233fb053f
7
+ data.tar.gz: ba84322d0f80de4788bc804752bddb8f4f6f6a531d3fe1493ce758d2350e25f7fddc4baceae25b563ebcec1e31ea1193c3bef635804949730cd58209eadb2164
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'gear'
3
- s.version = '0.0.5'
3
+ s.version = '0.0.6'
4
4
  s.license = 'GPL-3'
5
5
  s.summary = 'modular dependency build system for native extensions'
6
6
  s.description = 'gear provides a modular framework to encapsulate build tasks for native ' +
@@ -12,7 +12,7 @@ class Gear
12
12
  attr_reader :obtained, :built, :installed, :checked,
13
13
  :headers, :libs, :build_path
14
14
 
15
- @@install_path = "#{Dir.pwd}/vendor"
15
+ @@install_path = "#{Dir.getwd}/vendor"
16
16
  @@initialized = false
17
17
 
18
18
  @headers = []
@@ -45,6 +45,7 @@ class Gear
45
45
  end
46
46
 
47
47
  def initialize()
48
+ puts "Gear install path set to: #{@@install_path}"
48
49
  @obtained = @built = @installed = @checked = false
49
50
  @build_path = _root_path() + "/build/#{name()}"
50
51
  _setup_paths()
@@ -174,11 +175,19 @@ class Gear
174
175
 
175
176
  ENV['PATH'] = (ENV['PATH'].nil? ?
176
177
  "#{@@install_path}/bin" : ENV['PATH'] + ":#{@@install_path}/bin")
178
+ `export PATH=#{ENV['PATH']}`
177
179
  #ENV['C_INCLUDE_PATH'] = ENV['C_INCLUDE_PATH'].to_s + ":#{@@install_path}/include"
178
180
  #ENV['CPLUS_INCLUDE_PATH'] = ENV['CPLUS_INCLUDE_PATH'].to_s + ":#{@@install_path}/include"
179
181
  ENV['CPATH'] = (ENV['CPATH'].nil? ?
180
182
  "#{@@install_path}/include" : ENV['CPATH'] + ":#{@@install_path}/include")
183
+ `export CPATH=#{ENV['CPATH']}`
184
+
181
185
  ENV['LD_LIBRARY_PATH'] = (ENV['LD_LIBRARY_PATH'].nil? ?
182
186
  "#{@@install_path}/lib" : ENV['LD_LIBRARY_PATH'] + ":#{@@install_path}/lib")
187
+ `export LD_LIBRARY_PATH=#{ENV['LD_LIBRARY_PATH']}`
188
+
189
+ ENV['LIBRARY_PATH'] = (ENV['LIBRARY_PATH'].nil? ?
190
+ "#{@@install_path}/lib" : ENV['LIBRARY_PATH'] + ":#{@@install_path}/lib")
191
+ `export LIBRARY_PATH=#{ENV['LIBRARY_PATH']}`
183
192
  end
184
193
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gear
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rei Kagetsuki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-22 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git