rubywmq 2.0.0.pre → 2.0.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ext/extconf.rb +6 -4
  2. data/lib/wmq/version.rb +1 -1
  3. metadata +3 -3
data/ext/extconf.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  require 'mkmf'
2
- require File.join(File.dirname(__FILE__), 'generate', 'generate_reason')
3
- require File.join(File.dirname(__FILE__), 'generate', 'generate_const')
4
- require File.join(File.dirname(__FILE__), 'generate', 'generate_structs')
2
+ generate_sources_path = File.join(File.dirname(__FILE__), 'generate')
3
+ $LOAD_PATH.unshift generate_sources_path
4
+ require 'generate_reason'
5
+ require 'generate_const'
6
+ require 'generate_structs'
5
7
 
6
8
  include_path = ''
7
9
  if RUBY_PLATFORM =~ /win|mingw/i
@@ -22,7 +24,7 @@ end
22
24
  # Generate Source Files
23
25
  GenerateReason.generate(include_path+'/')
24
26
  GenerateConst.generate(include_path+'/', File.dirname(__FILE__) + '/../lib/wmq')
25
- GenerateStructs.new(include_path+'/', 'generate').generate
27
+ GenerateStructs.new(include_path+'/', generate_sources_path).generate
26
28
 
27
29
  # Generate Makefile
28
30
  create_makefile('wmq/wmq')
data/lib/wmq/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module WMQ #:nodoc
2
- VERSION = "2.0.0.pre"
2
+ VERSION = "2.0.0.pre2"
3
3
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 2
7
7
  - 0
8
8
  - 0
9
- - pre
10
- version: 2.0.0.pre
9
+ - pre2
10
+ version: 2.0.0.pre2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Reid Morrison
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-09-19 00:00:00 -04:00
19
+ date: 2012-09-26 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency