mustard_client 0.1.19 → 0.1.20
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/lib/MustardClient/testcases.rb +11 -0
- data/lib/MustardClient/version.rb +1 -1
- 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: 2f4646a1d9e6ac912b3c952d5d02b09a3caaab34
|
|
4
|
+
data.tar.gz: f6e77bd305e5d55b430aff22ca7378c8b443f841
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c6ba9f06cd32c4f49034db10b69dfea1f91eaa6b81b923a03ec79dd2f0a7afe6d3d6b522dd185cc7495e8fdb227d9a9eb539cd932982bdbd95ba1692173cfec
|
|
7
|
+
data.tar.gz: c4cdb6c9f69285799a9ef63bd5b95f6d925ed5c44232e53da1338cc17217c3c19cdb9aae3df2c1eb2a12ac45befbdcf65ee2bdff163472a15f305bb76dda3505
|
|
@@ -59,5 +59,16 @@ module MustardClient
|
|
|
59
59
|
execute(command)
|
|
60
60
|
|
|
61
61
|
end
|
|
62
|
+
|
|
63
|
+
def export project_id
|
|
64
|
+
|
|
65
|
+
command = {}
|
|
66
|
+
command[:method] = :get
|
|
67
|
+
command[:route] = @mustard_url + "/projects/#{project_id}/testcases/export.xlsx"
|
|
68
|
+
command[:headers] = {'User-Token' => @user_token}
|
|
69
|
+
|
|
70
|
+
execute(command)
|
|
71
|
+
|
|
72
|
+
end
|
|
62
73
|
end
|
|
63
74
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mustard_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Watson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-10-
|
|
11
|
+
date: 2016-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|