collectionspace-client 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a319415ad201aae3e067ccbd1235a97b39dfcb12
4
- data.tar.gz: 01f4a1be2eee7dfe5e88746b95fd921cf0fa6f6c
3
+ metadata.gz: a866877142a63cd6d01e906a45da80642ba7863f
4
+ data.tar.gz: e063df2beeb9c3dc6e794ce85123077f95dfe523
5
5
  SHA512:
6
- metadata.gz: 119b3a523dbfd578f5dd608deef78ddc1ef46e5c51a233b522cdf2cd04848910a47072a62b3bf6ed4b02f08ed46a4e28682e1396e7cb3628228bd498964a3c91
7
- data.tar.gz: 64086ac3f2facdcbf3de0491c1c4a168e8f8b48f795b993f1d3a601082986e54278258df29b39d3c87801debd2dc5c3c23f6f6ecd7a085a36bc8f8a414d16d6d
6
+ metadata.gz: 56aff1dad9eafc9a964f684fe64c000c38c957e59ee9691293592ba8a0b5c236d9ce55deebb4c3291e7d57dd7c29d815a9937cf486c858f2c36aaf0411d4eba3
7
+ data.tar.gz: '0184331cdb6aa7305e879175cc26e4f3165e988f1560d61ccdee663e87e65c1216b4914ccbb8edcf36223f028681fdb5ede8e93f480ff17115fea834770aec77'
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ *.gem
1
2
  *.swp
2
3
  /.bundle/
3
4
  /.yardoc
data/README.md CHANGED
@@ -78,9 +78,14 @@ bundle exec rake
78
78
  Publishing
79
79
  ---
80
80
 
81
+ Bump version in `lib/collectionspace/client/version.rb` then:
82
+
81
83
  ```bash
82
- VERSION=0.1.3
84
+ VERSION=0.1.4
85
+ gem build collectionspace-client
83
86
  gem push collectionspace-client-$VERSION.gem
87
+ git tag v$VERSION
88
+ git push --tags
84
89
  ```
85
90
 
86
91
  Contributing
@@ -23,7 +23,7 @@ module CollectionSpace
23
23
  def initialize(config, method = "GET", path = "", options = {})
24
24
  @config = config
25
25
  @method = method.downcase.to_sym
26
- @path = path
26
+ @path = path.gsub(/^\//, '')
27
27
 
28
28
  @auth = {
29
29
  username: config.username,
@@ -1,5 +1,5 @@
1
1
  module CollectionSpace
2
2
  class Client
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collectionspace-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Cooper