fedex-web-services 1.1.48 → 1.1.49

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/lib/fedex/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Fedex
2
- VERSION = "1.1.48"
2
+ VERSION = "1.1.49"
3
3
  end
@@ -29,7 +29,7 @@ module Fedex
29
29
 
30
30
  unless (options[:skip_initializer])
31
31
  create_file(FEDEX_INITIALIZER_FILE,
32
- "Fedex::WebServices::Definitions.load_definitions('#{target_lib_dir}')")
32
+ "Fedex::WebServices::Definitions.load_definitions('lib')")
33
33
  end
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fedex-web-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.48
4
+ version: 1.1.49
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,7 +36,6 @@ extensions: []
36
36
  extra_rdoc_files: []
37
37
  files:
38
38
  - lib/fedex/railtie.rb
39
- - lib/fedex/tasks/fedex.rake
40
39
  - lib/fedex/version.rb
41
40
  - lib/fedex/web_services/definitions.rb
42
41
  - lib/fedex/web_services/request/base.rb
@@ -1,21 +0,0 @@
1
- namespace :fedex do
2
- desc "Generate the ruby definition files from the FedEx wsdl files"
3
- task :generate_definitions do
4
- wsdl_dir = ENV['WSDL_DIR']
5
- if (!Dir.exist?(wsdl_dir || ""))
6
- puts "Set the WSDL_DIR environment variable to location of the Fedex wsdl files"
7
- else
8
- Fedex::WebServices::Definitions.generate_definitions(
9
- File.join(Rails.root, 'lib'),
10
- *Dir.glob(File.join(ENV['WSDL_DIR'], '*.wsdl'))
11
- )
12
-
13
- File.open(File.join(Rails.root, 'config', 'initializers', 'fedex.rb'), "w") do |file|
14
- file.puts "Fedex::WebServices::Definitions.load_definitions('lib')"
15
- end
16
-
17
- puts "Added lib/fedex/web_services/definitions/"
18
- puts "Added config/initializers/fedex.rb"
19
- end
20
- end
21
- end