argos-ruby 1.2.1 → 1.2.2

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/lib/argos.rb +2 -1
  4. data/lib/argos/soap.rb +0 -17
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69de4739a692829d58bd0d191089d88987f9226b
4
- data.tar.gz: 1cfcee1265195d90eb3c7f961a5fc1bd68e45bcd
3
+ metadata.gz: b574bef7417fb259d9cc785b69b0fa00874d3446
4
+ data.tar.gz: 5cc306ff7719b98b0c06e0d3de72641d486adc23
5
5
  SHA512:
6
- metadata.gz: f3a1a1262607b88df78f820ea6434fa093fa24b636c2304a212c1c299a98307a8aa1a3e49c055fa339a01256fc567669477be9e43d3bf56dad554e6b8043705a
7
- data.tar.gz: 083a707ef212655e57be7a9de2e507dbbd0e97cb4560338769acc2842d9724d534f620d57f19a3f99d6eeb6142ad4b838932a2900064a1897282faf204ef81d9
6
+ metadata.gz: 9622821907633d068c5b782df52b4e8b55f6b60a8335f3f5a1dd717b19cb2cedc6144a2fcfe1834237e3eb4ae49f869d9af47507dff38be04f4d5cdf1cf2315a
7
+ data.tar.gz: c08e857fddc4d9d791d9c7376d6b8778c40dcc1b6722f86143aef87abbd496fccae936de02997db7a60a9d6d83cc1834e5b86b66d04051afde39ee75635bffb0
data/README.md CHANGED
@@ -13,6 +13,7 @@ Developed by staff at the [Norwegian Polar Data Centre](http://data.npolar.no),
13
13
  ## Webservice
14
14
 
15
15
  ```sh
16
+ $ argos-soap -o getXsd # does not require authentication
16
17
  $ argos-soap --download archive/tracking/CLS --username=USERNAME --password=PASSWORD --debug
17
18
  $ argos-soap -o getXml --username=USERNAME --password=PASSWORD
18
19
  ```
data/lib/argos.rb CHANGED
@@ -6,6 +6,7 @@ require "digest/sha1"
6
6
  require "json"
7
7
  require "logger"
8
8
  require "cgi"
9
+ require "savon"
9
10
 
10
11
  require_relative "argos/exception"
11
12
  require_relative "argos/ascii"
@@ -25,7 +26,7 @@ require_relative "argos/download"
25
26
  #
26
27
  # For information about Argos, see: http://www.argos-system.org
27
28
  module Argos
28
- VERSION = "1.2.1"
29
+ VERSION = "1.2.2"
29
30
 
30
31
  def self.library_version
31
32
  "argos-ruby-#{VERSION}"
data/lib/argos/soap.rb CHANGED
@@ -1,20 +1,3 @@
1
- root = File.dirname(File.realpath(__FILE__))+"/../.."
2
-
3
- Dir.chdir root do
4
- begin
5
- require "savon"
6
- rescue LoadError
7
- # Prepend Savon lib to path, bundler seems not work
8
- unless defined? Savon
9
- # Cannot use #find_name returns []
10
- # raise Bundler.rubygems.find_name('savon').to_json #.first.full_gem_path
11
- savonbundle = `bundle show savon`.chomp
12
- $LOAD_PATH.unshift(savonbundle+"/lib")
13
- require_relative "#{savonbundle}/lib/savon"
14
- end
15
- end
16
- end
17
-
18
1
  module Argos
19
2
  class Soap
20
3
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: argos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Espen Egeland