mustard_client 0.1.33 → 0.1.34

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: d307f651e2d07728ebbeafd49f1cf231382de688
4
- data.tar.gz: 55b3be0b8273f08c756aaf3ba86a28de8ffe279e
3
+ metadata.gz: 258c445e430a30efd51567dfe0c2049303f6d15c
4
+ data.tar.gz: aa0c88f6d64e9827c79f663a54f2e7754fc884f3
5
5
  SHA512:
6
- metadata.gz: 45fa38c9147e2303834dd82dba3b41a82d98ba140986f3433ed31e36bca1dfb5eaa5f38e9f8652a505549fd6f0c9a1e47b067a44cfc79e757ff2808fd5667064
7
- data.tar.gz: ae551d5a507943202d442788047160cf45a3d72ecae9135a32893b4615d26efd79733838d29b6da1c0dab5731f533e800274f6211d21d7140d1c6a00a042a51c
6
+ metadata.gz: 3e5b911af2e9ebf8628f9450e23ef0a76214ff5b692e4262bacf8ea76e9cf4ffa2d7dcc0f4c4ff1f5748af149195424beec4fac9fc43593c6ca68e9870dad056
7
+ data.tar.gz: a08c52928273d7d6b9f1f4e1f6fbdb2c759eb6c390489b984dac0a57b46840251316d47acb7db97b2f9e765962bd950bc1666e57984bdf9a89e0f910437baab7
@@ -58,5 +58,17 @@ module MustardClient
58
58
  execute(command)
59
59
 
60
60
  end
61
+
62
+ def environments project_id
63
+
64
+ command = {}
65
+ command[:method] = :get
66
+ command[:route] = @mustard_url + "/projects/#{project_id}/environments"
67
+ command[:headers] = {'User-Token' => @user_token}
68
+
69
+ execute(command)
70
+
71
+ end
72
+
61
73
  end
62
74
  end
@@ -1,3 +1,3 @@
1
1
  module MustardClient
2
- VERSION = "0.1.33"
2
+ VERSION = "0.1.34"
3
3
  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.33
4
+ version: 0.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Watson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-01 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler