salt_client 0.1.1 → 0.1.2

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: 6666e78e797611e3450818cb9c790242d00c478f
4
- data.tar.gz: dbdae3d242c75e3915ee29bdd5efc692abe6559d
3
+ metadata.gz: b3d34f81181247ae2b8312e0e5c42cbfa5a84450
4
+ data.tar.gz: 571002ff69de08196c06345c5c4852bc86cf9dfb
5
5
  SHA512:
6
- metadata.gz: b962cacfd72d8179f5931a7ab3531cbe03d7e69eb59c39a1ac50fa668efcf23dc31ad007b711b48ed9cdb086dd573f36f067ae3460c00aa25ac009647a3e6d88
7
- data.tar.gz: ecbc9b6d7dbf47f7d01648040f1cde59769cbfb2565864d45c18a5efb396f4fa328ced081303768b0447bc43db4c2fb7a82b941a19aa066377e378e44e0b829c
6
+ metadata.gz: 842485587ab041b2c18bea69e956c0dbb7b66f42bfaae5978dbb0e17251a06343dd288c4ba32c3888b1fc06784d996542e5ac8bc1b5d78d9716021ffd9156f29
7
+ data.tar.gz: f720757a49b395450454b40681875f4fa772fed57cfae03c4c9a47f84e60c93a9f3b064c4a97b091840af4b7a54e7ce9e57357f21de8c11a94febefd76403c83
data/.gitignore CHANGED
@@ -1,9 +1,35 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
1
+ *.gem
2
+ *.rbc
3
+ /.config
5
4
  /coverage/
6
- /doc/
5
+ /InstalledFiles
7
6
  /pkg/
8
7
  /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
9
10
  /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /doc/
21
+ /rdoc/
22
+
23
+ ## Environment normalisation:
24
+ /.bundle/
25
+ /vendor/bundle
26
+ /lib/bundler/man/
27
+
28
+ # for a library or gem, you might want to ignore these files since the code is
29
+ # intended to run in multiple environments; otherwise, check them in:
30
+ # Gemfile.lock
31
+ # .ruby-version
32
+ # .ruby-gemset
33
+
34
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
35
+ .rvmrc
@@ -1,3 +1,3 @@
1
1
  module SaltClient
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/salt_client.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  require 'unirest'
2
2
 
3
+ # set the unirest timeout to 5 minutes
4
+ Unirest.timeout(300)
5
+
3
6
  module SaltClient
4
7
  class Client
5
8
  def initialize(server, user, pass)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salt_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Bularca