lockstep_rails 0.3.81 → 0.3.82

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
  SHA256:
3
- metadata.gz: e4a0a8fcfeb52dc83211161d2fe71d5ce53561390768b31c67b2abf08cb8e0df
4
- data.tar.gz: fd36e3e0141fbbdedc6af98c3ffe2d4458bdb0a20d464588248a9fc8f19debdb
3
+ metadata.gz: 2997575ae530a9c521267d45b2d616d15bd7124a7556508889632cab5f4a8b1a
4
+ data.tar.gz: 9e183366218221c4ab8089638bd62d34b07ff15fd8becd0c626bb514fcda3e6e
5
5
  SHA512:
6
- metadata.gz: d7f2ca3ba51099fa9af80990bd466fd972a32c121bcfec419b4e2646c7a66e39197a9a863783b86647e1a536f4045144b84cbaf831c178e3bdd9992f15d0deab
7
- data.tar.gz: f9954834dd6626637f7f8de5ca50cff82d39a17b4e7116d16004bcf8b9879d490fe7011323dacd008ceb14ac4281f974a88b83a14ade15b7302a519027171051
6
+ metadata.gz: 0fc08388526dd7935c7c0d10c641d5a4fb874c2c9a4736f26c90417d93d02900e377284f8caf8bdf1df02426f09ee264bcec9f8f358d8ca2a0c2960528d157a7
7
+ data.tar.gz: f4260a94d65309281322191b9ce1575fb98639b8f5ef06bdf4412bf77a95ad5f47bba7d15806a2e8b5efa03b98cb4723564b88060c7a903e3fcef4f61661f92d
@@ -9,4 +9,9 @@ class Lockstep::Attachment < Lockstep::ApiRecord
9
9
  response = resource.get "#{id}/download-url"
10
10
  JSON.parse(response.body)['downloadLink']
11
11
  end
12
+
13
+ def download_file
14
+ response = resource.get "#{id}/download-file"
15
+ response.body
16
+ end
12
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LockstepRails
4
- VERSION = '0.3.81'
4
+ VERSION = '0.3.82'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockstep_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.81
4
+ version: 0.3.82
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-18 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails