collectiveaccess 0.2.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/collectiveaccess.gemspec +3 -3
- data/lib/collectiveaccess.rb +1 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: da35ab42582e513072624516a334dbc2b45d8278
|
|
4
|
+
data.tar.gz: 2d23ab9571a04af4154a5c32d5c2e74e2fd4f8b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e236602a2266223c46962c9814bc2ba27c8c3f9b018fab2778eaaa564e7875a85aa6669cf41728cc6724fa9c88d0ba13545a4abbff6dbbfbcf2869231d89105
|
|
7
|
+
data.tar.gz: cee02cdb1432ba1ec7ee96ca3e485bbe612ba8a581b2d00a535bacbd5cd908d19ccdff4dd478e837a7c41a700506f96f2b0c6c4d5e381673bf0beb82b8a827d0
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
data/collectiveaccess.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: collectiveaccess 0.2.
|
|
5
|
+
# stub: collectiveaccess 0.2.1 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "collectiveaccess"
|
|
9
|
-
s.version = "0.2.
|
|
9
|
+
s.version = "0.2.1"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["CollectiveAccess", "Stefan"]
|
|
14
|
-
s.date = "2015-08-
|
|
14
|
+
s.date = "2015-08-17"
|
|
15
15
|
s.description = "This gem is a simple plain Ruby wrapper for the CollectiveAccess Web Service API. For more info see https://github.com/CollectiveAccessProject/collectiveaccess"
|
|
16
16
|
s.email = "info@collectiveaccess.org"
|
|
17
17
|
s.extra_rdoc_files = [
|
data/lib/collectiveaccess.rb
CHANGED
|
@@ -4,9 +4,6 @@ require 'uri'
|
|
|
4
4
|
require 'pstore'
|
|
5
5
|
require 'tmpdir'
|
|
6
6
|
|
|
7
|
-
#$:.unshift(File.dirname(__FILE__))
|
|
8
|
-
#require 'collectiveaccess/item'
|
|
9
|
-
|
|
10
7
|
class CollectiveAccess
|
|
11
8
|
|
|
12
9
|
include HTTParty
|
|
@@ -118,7 +115,7 @@ class CollectiveAccess
|
|
|
118
115
|
end
|
|
119
116
|
|
|
120
117
|
def self.pstore
|
|
121
|
-
PStore.new(Dir.tmpdir + File::
|
|
118
|
+
PStore.new(Dir.tmpdir + File::SEPARATOR + 'collectiveaccess_gem_token.pstore')
|
|
122
119
|
end
|
|
123
120
|
|
|
124
121
|
# authenticate with CA Web Service API and store auth token in a temporary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: collectiveaccess
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- CollectiveAccess
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-08-
|
|
12
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|