dotloop 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c1546dd7b2d96ebbf6b21f0b74477923cb06e75
4
- data.tar.gz: f9cfa01fbb2128a9c99fc322db081406a52ade98
3
+ metadata.gz: 0c213b9e2cec3531161964f13642bdd2b2321b5b
4
+ data.tar.gz: 4538cc1d29e37cd2575df00891ea0a746517f5bc
5
5
  SHA512:
6
- metadata.gz: 75e6026d6e94e1b2dee3e8dfe7e64368dd30c61a9c608e29f2b42f48014da1540456261c980643d2ca693254b7a818f1dfdfe926eff220c4362c255a169ca7a2
7
- data.tar.gz: 026b931ceaef7577d21b535509c9c393a7e48bcb08810c29cfdeededa09c7117a283bea8ac19bb4e1feac6d90eb972f4a2cc8cd6b4e26f564ba4dc81124b7c40
6
+ metadata.gz: 00224b520d72684deb986e1fdf9f614e9dd2a01ec3371b03c130aacd319a6979e017ec67c78939fabdcf35b0e6b0ef76915b5d9db50eb60a9fca5cb4b9588f66
7
+ data.tar.gz: 55fcf4b2f8dd2a927dcc61e63e6338350f6c50516c1bd4b18e96f1f88bbb69a56fbef9f9cd9c002da72f1abbdb49bce9059b76ee41a95f3d4809802f760c4110
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = %(http://github.com/Loft47/dotloop)
15
15
  spec.license = 'MIT'
16
16
  spec.cert_chain = ['certs/shanedavies.pem']
17
- spec.signing_key = File.expand_path('~/.ssh/dotloop-private_key.pem') if $0 =~ /gem\z/
17
+ spec.signing_key = File.expand_path('~/.ssh/dotloop-private_key.pem') if $PROGRAM_NAME.end_with?('gem')
18
18
 
19
19
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
20
20
  # to allow pushing to a single host or delete this section to allow pushing to any host.
@@ -15,7 +15,7 @@ module Dotloop
15
15
  end
16
16
 
17
17
  def get(profile_id:, loop_view_id:, document_id:, document_name:)
18
- document_name = CGI.escape(document_name)
18
+ document_name = CGI.escape(document_name.delete('/'))
19
19
  StringIO.new(
20
20
  @client.raw(
21
21
  "/profile/#{profile_id.to_i}/loop/#{loop_view_id.to_i}/document/#{document_id}/#{document_name}.pdf"
@@ -1,3 +1,3 @@
1
1
  module Dotloop
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotloop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loft47
@@ -30,7 +30,7 @@ cert_chain:
30
30
  L+ceZspJWVt3gj8EHk5CVnWGEh6Pk69eo8EuR38vWHXOExU+b14Umj8wjYGjDgmQ
31
31
  ULEgdaQHqkQV4C3edSFOUWTGehI=
32
32
  -----END CERTIFICATE-----
33
- date: 2016-08-08 00:00:00.000000000 Z
33
+ date: 2016-08-10 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: simplecov
metadata.gz.sig CHANGED
Binary file