singleton-ruby 0.1.2 → 0.1.3
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/sgtn-client/api/source.rb +1 -1
- data/lib/version.rb +1 -1
- data/spec/config/sgtnclient-invalidate.yml +0 -4
- data/spec/config/sgtnclient.yml +0 -4
- data/spec/spec_helper.rb +1 -7
- metadata +6 -10
- data/lib/generators/sgtnclient/USAGE +0 -3
- data/lib/generators/sgtnclient/install_generator.rb +0 -15
- data/lib/generators/sgtnclient/templates/sgtnclient.rb +0 -2
- data/lib/generators/sgtnclient/templates/sgtnclient.yml +0 -33
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2e092b1d69a9639d976877f5ad64486ebe37a6d64bdaef84f1aa10a1424ae6e
|
|
4
|
+
data.tar.gz: 42f5c443bf2e9a20004ba147586de5088d9fdb1a7cd56b422f0b8fff85ea82ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e269b9d4dc398a51491bcaa8c71304c360cc082cce8bc6f49ca07ddd7d72849f26341d65d1700e452eb5976197eb5a95542f09e9bf1aa595e2448becd894353
|
|
7
|
+
data.tar.gz: d8230f6464e7c1c4f940665f55bfb0fdb577553c980b844ecd45803e77ee3ca4ffdf346c67deec784daf17d94fc2bd2cbbdf2ed8e4b9eb565f24a12d3191f788
|
data/lib/version.rb
CHANGED
data/spec/config/sgtnclient.yml
CHANGED
data/spec/spec_helper.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require 'bundler/setup'
|
|
2
2
|
require_relative '../lib/sgtn-client/sgtn-client.rb'
|
|
3
|
-
require '
|
|
3
|
+
require 'logger'
|
|
4
4
|
|
|
5
5
|
if ENV['COVERAGE']
|
|
6
6
|
require 'simplecov'
|
|
@@ -12,23 +12,17 @@ if ENV['COVERAGE']
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
Bundler.require :default, :test
|
|
15
|
-
#SgtnClient.load("./spec/config/sgtnclient.yml", "test")
|
|
16
|
-
|
|
17
|
-
#require 'SgtnClient'
|
|
18
15
|
|
|
19
16
|
include SgtnClient
|
|
20
17
|
include SgtnClient::Logging
|
|
21
18
|
include SgtnClient::Exceptions
|
|
22
19
|
|
|
23
|
-
require 'logger'
|
|
24
|
-
|
|
25
20
|
SgtnClient.load("./spec/config/sgtnclient.yml", "test", './sgtnclient.log')
|
|
26
21
|
|
|
27
22
|
Dir[File.expand_path("../support/**/*.rb", __FILE__)].each {|f| require f }
|
|
28
23
|
|
|
29
24
|
# Set logger for http
|
|
30
25
|
http_log = File.open(File.expand_path('../log/http.log', __FILE__), "w")
|
|
31
|
-
#Payment.api.http.set_debug_output(http_log)
|
|
32
26
|
|
|
33
27
|
RSpec.configure do |config|
|
|
34
28
|
config.filter_run_excluding :integration => true
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: singleton-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- VMware G11n Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-08-
|
|
11
|
+
date: 2021-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -230,8 +230,8 @@ dependencies:
|
|
|
230
230
|
- - "~>"
|
|
231
231
|
- !ruby/object:Gem::Version
|
|
232
232
|
version: '6.6'
|
|
233
|
-
description:
|
|
234
|
-
email:
|
|
233
|
+
description: Singleton Ruby client
|
|
234
|
+
email: g11n-vip-project@vmware.com
|
|
235
235
|
executables: []
|
|
236
236
|
extensions: []
|
|
237
237
|
extra_rdoc_files:
|
|
@@ -240,10 +240,6 @@ files:
|
|
|
240
240
|
- Gemfile
|
|
241
241
|
- README.md
|
|
242
242
|
- Rakefile
|
|
243
|
-
- lib/generators/sgtnclient/USAGE
|
|
244
|
-
- lib/generators/sgtnclient/install_generator.rb
|
|
245
|
-
- lib/generators/sgtnclient/templates/sgtnclient.rb
|
|
246
|
-
- lib/generators/sgtnclient/templates/sgtnclient.yml
|
|
247
243
|
- lib/sgtn-client/api/source.rb
|
|
248
244
|
- lib/sgtn-client/api/translation.rb
|
|
249
245
|
- lib/sgtn-client/core/cache.rb
|
|
@@ -281,7 +277,7 @@ files:
|
|
|
281
277
|
- spec/unit/version_spec.rb
|
|
282
278
|
homepage: https://github.com/vmware/singleton
|
|
283
279
|
licenses:
|
|
284
|
-
-
|
|
280
|
+
- EPL
|
|
285
281
|
metadata: {}
|
|
286
282
|
post_install_message:
|
|
287
283
|
rdoc_options: []
|
|
@@ -301,7 +297,7 @@ requirements: []
|
|
|
301
297
|
rubygems_version: 3.0.9
|
|
302
298
|
signing_key:
|
|
303
299
|
specification_version: 4
|
|
304
|
-
summary: Singleton client
|
|
300
|
+
summary: Singleton Ruby client
|
|
305
301
|
test_files:
|
|
306
302
|
- spec/config/locales/default/JAVA/default.yml
|
|
307
303
|
- spec/config/locales/l10n/bundles/test/4.8.1/JAVA/messages_de.json
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
module SgtnClient
|
|
2
|
-
module Generators
|
|
3
|
-
class InstallGenerator < Rails::Generators::Base
|
|
4
|
-
source_root File.expand_path('../templates', __FILE__)
|
|
5
|
-
|
|
6
|
-
def copy_config_file
|
|
7
|
-
copy_file "sgtnclient.yml", "config/sgtnclient.yml"
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
def copy_initializer_file
|
|
11
|
-
copy_file "sgtnclient.rb", "config/initializers/sgtnclient.rb"
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
test: &default
|
|
2
|
-
|
|
3
|
-
# Credentials for REST APIs
|
|
4
|
-
client_id: tee
|
|
5
|
-
client_secret: 89987
|
|
6
|
-
|
|
7
|
-
# Mode can be 'live' or 'sandbox'
|
|
8
|
-
mode: sandbox
|
|
9
|
-
|
|
10
|
-
# Credentials for Classic APIs
|
|
11
|
-
app_id: APP-80W284485P519543T
|
|
12
|
-
username: linr
|
|
13
|
-
password: fdasf
|
|
14
|
-
signature: sfds-RWy
|
|
15
|
-
# # With Certificate
|
|
16
|
-
# cert_path: "config/cert_key.pem"
|
|
17
|
-
sandbox_email_address: linr@aa.com
|
|
18
|
-
|
|
19
|
-
# #Product Name
|
|
20
|
-
product_name: test
|
|
21
|
-
|
|
22
|
-
# # bundle version
|
|
23
|
-
version: 4.8.1
|
|
24
|
-
|
|
25
|
-
# # HTTP Proxy
|
|
26
|
-
vip_server: https://server:8090
|
|
27
|
-
|
|
28
|
-
development:
|
|
29
|
-
<<: *default
|
|
30
|
-
|
|
31
|
-
production:
|
|
32
|
-
<<: *default
|
|
33
|
-
mode: live
|