keytechkit 1.1.0 → 1.2.0

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
  SHA256:
3
- metadata.gz: 309054e0fe7121f7f4e3fbf922a020e3d8a36b47a0eab4cf5aa9c4647a197b00
4
- data.tar.gz: a451b07e06fdc8d9f3e1f56104181d155f233fcf2326c566874c8185d5e07a3c
3
+ metadata.gz: fa0f95a22d9077b343cc7cab75cfb545d85e4aefd29a9c51a2f3b4ebfb3e18d8
4
+ data.tar.gz: 9c90b180a99c22b35259faba4be648e319180a96478573682e4fca1ac416e102
5
5
  SHA512:
6
- metadata.gz: a6b82cc6d568bd2f211022df07e73f327d46ee45dfb7b827bec27e04b82e9d68ee660788e11addc52815da3b0c90303dcd0290078a6872481936d8a24145c508
7
- data.tar.gz: 9dbcafc7db9282055412df641ac1cd9efb078ab4e4e2739fb08c1de21f68005c6be061fe83d3beafc1de0126e7ed31ebf7e3a21a59ff0eb1af2fea6adffaf31e
6
+ metadata.gz: aacd94ae0d3f3d37b8757e22e13ba7565a6187e81130f0c39fc4df9a47df54e32589451a50cde99eccbd51f42937b8fc75debd3aab6ffa3b3bd56798f5c81c73
7
+ data.tar.gz: 3494a40d30960d7f00ff1cd61a19ae9d1569171d85276e7ee9f11da72c6c0153ea937ad8ddbb1c4967a7d9a22d2919e4e5d82699472760106ad9d618de0f6155
@@ -1,140 +1,140 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- keytechkit (1.1.0)
4
+ keytechkit (1.2.0)
5
5
  httparty (~> 0.16)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.2.2.1)
11
- actionpack (= 5.2.2.1)
10
+ actioncable (5.2.4.3)
11
+ actionpack (= 5.2.4.3)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.2.1)
15
- actionpack (= 5.2.2.1)
16
- actionview (= 5.2.2.1)
17
- activejob (= 5.2.2.1)
14
+ actionmailer (5.2.4.3)
15
+ actionpack (= 5.2.4.3)
16
+ actionview (= 5.2.4.3)
17
+ activejob (= 5.2.4.3)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.2.2.1)
21
- actionview (= 5.2.2.1)
22
- activesupport (= 5.2.2.1)
23
- rack (~> 2.0)
20
+ actionpack (5.2.4.3)
21
+ actionview (= 5.2.4.3)
22
+ activesupport (= 5.2.4.3)
23
+ rack (~> 2.0, >= 2.0.8)
24
24
  rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.2.1)
28
- activesupport (= 5.2.2.1)
27
+ actionview (5.2.4.3)
28
+ activesupport (= 5.2.4.3)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.2.1)
34
- activesupport (= 5.2.2.1)
33
+ activejob (5.2.4.3)
34
+ activesupport (= 5.2.4.3)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.2.2.1)
37
- activesupport (= 5.2.2.1)
38
- activerecord (5.2.2.1)
39
- activemodel (= 5.2.2.1)
40
- activesupport (= 5.2.2.1)
36
+ activemodel (5.2.4.3)
37
+ activesupport (= 5.2.4.3)
38
+ activerecord (5.2.4.3)
39
+ activemodel (= 5.2.4.3)
40
+ activesupport (= 5.2.4.3)
41
41
  arel (>= 9.0)
42
- activestorage (5.2.2.1)
43
- actionpack (= 5.2.2.1)
44
- activerecord (= 5.2.2.1)
42
+ activestorage (5.2.4.3)
43
+ actionpack (= 5.2.4.3)
44
+ activerecord (= 5.2.4.3)
45
45
  marcel (~> 0.3.1)
46
- activesupport (5.2.2.1)
46
+ activesupport (5.2.4.3)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (>= 0.7, < 2)
49
49
  minitest (~> 5.1)
50
50
  tzinfo (~> 1.1)
51
51
  arel (9.0.0)
52
- builder (3.2.3)
53
- concurrent-ruby (1.1.5)
54
- crass (1.0.4)
55
- diff-lcs (1.3)
56
- erubi (1.8.0)
52
+ builder (3.2.4)
53
+ concurrent-ruby (1.1.6)
54
+ crass (1.0.6)
55
+ diff-lcs (1.4.3)
56
+ erubi (1.9.0)
57
57
  globalid (0.4.2)
58
58
  activesupport (>= 4.2.0)
59
- httparty (0.17.0)
59
+ httparty (0.18.1)
60
60
  mime-types (~> 3.0)
61
61
  multi_xml (>= 0.5.2)
62
- i18n (1.6.0)
62
+ i18n (1.8.3)
63
63
  concurrent-ruby (~> 1.0)
64
- loofah (2.2.3)
64
+ loofah (2.6.0)
65
65
  crass (~> 1.0.2)
66
66
  nokogiri (>= 1.5.9)
67
67
  mail (2.7.1)
68
68
  mini_mime (>= 0.1.1)
69
69
  marcel (0.3.3)
70
70
  mimemagic (~> 0.3.2)
71
- method_source (0.9.2)
72
- mime-types (3.2.2)
71
+ method_source (1.0.0)
72
+ mime-types (3.3.1)
73
73
  mime-types-data (~> 3.2015)
74
- mime-types-data (3.2019.0331)
75
- mimemagic (0.3.3)
76
- mini_mime (1.0.1)
74
+ mime-types-data (3.2020.0512)
75
+ mimemagic (0.3.5)
76
+ mini_mime (1.0.2)
77
77
  mini_portile2 (2.4.0)
78
- minitest (5.11.3)
78
+ minitest (5.14.1)
79
79
  multi_xml (0.6.0)
80
- nio4r (2.3.1)
81
- nokogiri (1.10.1)
80
+ nio4r (2.5.2)
81
+ nokogiri (1.10.9)
82
82
  mini_portile2 (~> 2.4.0)
83
- rack (2.0.6)
83
+ rack (2.2.3)
84
84
  rack-test (1.1.0)
85
85
  rack (>= 1.0, < 3)
86
- rails (5.2.2.1)
87
- actioncable (= 5.2.2.1)
88
- actionmailer (= 5.2.2.1)
89
- actionpack (= 5.2.2.1)
90
- actionview (= 5.2.2.1)
91
- activejob (= 5.2.2.1)
92
- activemodel (= 5.2.2.1)
93
- activerecord (= 5.2.2.1)
94
- activestorage (= 5.2.2.1)
95
- activesupport (= 5.2.2.1)
86
+ rails (5.2.4.3)
87
+ actioncable (= 5.2.4.3)
88
+ actionmailer (= 5.2.4.3)
89
+ actionpack (= 5.2.4.3)
90
+ actionview (= 5.2.4.3)
91
+ activejob (= 5.2.4.3)
92
+ activemodel (= 5.2.4.3)
93
+ activerecord (= 5.2.4.3)
94
+ activestorage (= 5.2.4.3)
95
+ activesupport (= 5.2.4.3)
96
96
  bundler (>= 1.3.0)
97
- railties (= 5.2.2.1)
97
+ railties (= 5.2.4.3)
98
98
  sprockets-rails (>= 2.0.0)
99
99
  rails-dom-testing (2.0.3)
100
100
  activesupport (>= 4.2.0)
101
101
  nokogiri (>= 1.6)
102
- rails-html-sanitizer (1.0.4)
103
- loofah (~> 2.2, >= 2.2.2)
104
- railties (5.2.2.1)
105
- actionpack (= 5.2.2.1)
106
- activesupport (= 5.2.2.1)
102
+ rails-html-sanitizer (1.3.0)
103
+ loofah (~> 2.3)
104
+ railties (5.2.4.3)
105
+ actionpack (= 5.2.4.3)
106
+ activesupport (= 5.2.4.3)
107
107
  method_source
108
108
  rake (>= 0.8.7)
109
109
  thor (>= 0.19.0, < 2.0)
110
110
  rake (10.5.0)
111
- rspec (3.8.0)
112
- rspec-core (~> 3.8.0)
113
- rspec-expectations (~> 3.8.0)
114
- rspec-mocks (~> 3.8.0)
115
- rspec-core (3.8.0)
116
- rspec-support (~> 3.8.0)
117
- rspec-expectations (3.8.2)
111
+ rspec (3.9.0)
112
+ rspec-core (~> 3.9.0)
113
+ rspec-expectations (~> 3.9.0)
114
+ rspec-mocks (~> 3.9.0)
115
+ rspec-core (3.9.2)
116
+ rspec-support (~> 3.9.3)
117
+ rspec-expectations (3.9.2)
118
118
  diff-lcs (>= 1.2.0, < 2.0)
119
- rspec-support (~> 3.8.0)
120
- rspec-mocks (3.8.0)
119
+ rspec-support (~> 3.9.0)
120
+ rspec-mocks (3.9.1)
121
121
  diff-lcs (>= 1.2.0, < 2.0)
122
- rspec-support (~> 3.8.0)
123
- rspec-support (3.8.0)
124
- sprockets (3.7.2)
122
+ rspec-support (~> 3.9.0)
123
+ rspec-support (3.9.3)
124
+ sprockets (4.0.2)
125
125
  concurrent-ruby (~> 1.0)
126
126
  rack (> 1, < 3)
127
127
  sprockets-rails (3.2.1)
128
128
  actionpack (>= 4.0)
129
129
  activesupport (>= 4.0)
130
130
  sprockets (>= 3.0.0)
131
- thor (0.20.3)
131
+ thor (1.0.1)
132
132
  thread_safe (0.3.6)
133
- tzinfo (1.2.5)
133
+ tzinfo (1.2.7)
134
134
  thread_safe (~> 0.1)
135
- websocket-driver (0.7.0)
135
+ websocket-driver (0.7.2)
136
136
  websocket-extensions (>= 0.1.0)
137
- websocket-extensions (0.1.3)
137
+ websocket-extensions (0.1.5)
138
138
 
139
139
  PLATFORMS
140
140
  ruby
@@ -147,4 +147,4 @@ DEPENDENCIES
147
147
  rspec (~> 3.0)
148
148
 
149
149
  BUNDLED WITH
150
- 1.17.1
150
+ 1.17.3
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018 Thorsten Claus
3
+ Copyright (c) 2020 Thorsten Claus
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = KeytechKit::VERSION
9
9
  spec.author = "Thorsten Claus"
10
10
  spec.email = ["thorstenclaus@web.de"]
11
- spec.summary = "keytechkit is a ruby gem to connect to the keytech Web API"
11
+ spec.summary = "keytechkit is a ruby gem to connect to the keytech API"
12
12
  spec.homepage = "https://claus-software.de"
13
13
  spec.license = "MIT"
14
14
  spec.metadata = { "source_code_uri" => "https://github.com/tclaus/keytechkit.gem" }
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "rake", "~> 10.0"
26
26
  spec.add_development_dependency "rspec", "~> 3.0"
27
27
  spec.add_development_dependency "rails", "~> 5.2"
28
-
28
+
29
29
  spec.add_dependency "httparty", "~> 0.16"
30
30
  end
@@ -15,6 +15,8 @@ module KeytechKit
15
15
  def load
16
16
  response = self.class.get('/serverinfo')
17
17
  if response.success?
18
+ json = JSON.parse(response.body)
19
+ puts json['ServerInfoResult']
18
20
  Serverinfo.new(response['ServerInfoResult'])
19
21
  else
20
22
  raise response.response
@@ -1,8 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module KeytechKit
2
- VERSION = '1.1.0'
4
+ VERSION = '1.2.0'
3
5
 
4
6
  # Public available Demo URL for testing and dsevelopment
5
- DEMO_URL = 'https://demo.keytech.de'
7
+ # DEMO_URL = "https://explorer.keytech.de:8080/keytech"
8
+ DEMO_URL = 'https://keytech-13.free.beeceptor.com'
6
9
 
7
10
  # username to access public web API
8
11
  DEMO_USER = 'jgrant'
@@ -11,5 +14,4 @@ module KeytechKit
11
14
  DEMO_PASSWORD = ''
12
15
 
13
16
  DEMO_ARTICLE = 'DEFAULT_MI:500228' # Dampfwalze / Steamroller
14
-
15
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keytechkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thorsten Claus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-20 00:00:00.000000000 Z
11
+ date: 2020-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -147,9 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.7.8
150
+ rubygems_version: 3.0.4
152
151
  signing_key:
153
152
  specification_version: 4
154
- summary: keytechkit is a ruby gem to connect to the keytech Web API
153
+ summary: keytechkit is a ruby gem to connect to the keytech API
155
154
  test_files: []