jsb_client 1.0.4 → 1.0.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jsb.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b25c0beee492d5ca367fba3647b6eb5a2b08d03
4
- data.tar.gz: c0b97911ff04646948690a67fbc5efb92a00846b
3
+ metadata.gz: e0d3574940028d0d5e5cd191ec42b49c8ca8675e
4
+ data.tar.gz: 40f3bfda85c6fb1289940df5f75e1ddf159d9799
5
5
  SHA512:
6
- metadata.gz: 8237a5f7883f5d1f13cc1e252b4a6920d64d6ababa10c10d5bd0a58d81be1d72fc5a2b6f99903414f11a74a27290c58c320b108837f95bb6c425aaeb0e61718f
7
- data.tar.gz: ba3208845c3895d2b39f048618dae80db27875cb266708875920e28444f6c29b820f3b498718699bd520640d028802d5a622a688eab4f0fc3e8bc49f0bc86217
6
+ metadata.gz: 092651bc9b41a526bf2d91eb41693715f40999a63a2f8fd8daa9a09dbcbe8b8d3a7e64368b5e3b93dde9e41742fbb20ab0ff5a56dbab448490695bd420991678
7
+ data.tar.gz: 4085816a3973d2e7a9fcf7249c17c06c1ffa7daf73ec9df45511d452cb20814e96d94c04ff5c15e8c91cc2a7b78e6c336545bcae79e38a3929a04187a19fd359
data/lib/jsb.rb CHANGED
@@ -25,7 +25,7 @@ class JSB
25
25
  def journals
26
26
  parse(@api["/journals"].get(:accept => :json))
27
27
  end
28
-
28
+
29
29
  def journal_exists?(site)
30
30
  @api["/journals/exists"].get(:params => {:site => site}, :accept => :json)
31
31
  end
@@ -95,8 +95,8 @@ class JSB
95
95
  parse(@api["/journals/#{journal_id}/apps/#{app_id}"].get(:accept => :json))
96
96
  end
97
97
 
98
- def journal_install_app(journal_id, app_id)
99
- parse(@api["/journals/#{journal_id}/apps/#{app_id}"].put(:accept => :json))
98
+ def journal_install_app(journal_id, app_id, expires_at)
99
+ parse(@api["/journals/#{journal_id}/apps/#{app_id}"].put(:expires_at => expires_at, :accept => :json))
100
100
  end
101
101
 
102
102
  def journal_uninstall_app(journal_id, app_id)
@@ -104,7 +104,7 @@ class JSB
104
104
  end
105
105
 
106
106
  def create_journal(site, xml)
107
- parse(@api["/journals"].post(:journal => {:site => site, :xml => xml}, :accept => :json, :timeout => 180, :open_timeout => 180))
107
+ parse(@api["/journals"].post(:journal => {:site => site, :xml => xml}, :accept => :json, :timeout => 90000000, :open_timeout => 90000000))
108
108
  end
109
109
 
110
110
  # Return a list of articles from author.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsb_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Definity Solutions