Avatax_TaxService 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "Avatax_TaxService"
3
- s.version = "1.0.2"
3
+ s.version = "1.0.3"
4
4
  s.date = "2012-10-28"
5
5
  s.author = "Graham S Wilson"
6
6
  s.email = "support@Avalara.com"
@@ -19,8 +19,10 @@ module AvaTax
19
19
  @machine = machine == nil ? "" : machine
20
20
 
21
21
  #Set @def_locn to the Avatax-x.x.x gem install library. This enables the ruby programs to
22
- #find other objects that it needs.
23
- @def_locn = 'C:\Ruby193\lib\ruby\gems\1.9.1\gems\Avatax_TaxService-1.0.0\lib'
22
+ #find other objects that it needs.
23
+ spec = Gem::Specification.find_by_name("Avatax_TaxService")
24
+ gem_root = spec.gem_dir
25
+ @def_locn = gem_root + "/lib"
24
26
 
25
27
  #Header for response data
26
28
  @responsetime_hdr = " (User) (System) (Total) (Real)"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Avatax_TaxService
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: