app_manager 0.1.0 → 0.1.1
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/.github/workflows/ruby.yml +1 -2
- data/Gemfile +2 -2
- data/Gemfile.lock +1 -24
- data/README.md +6 -11
- data/app_manager-0.1.0.gem +0 -0
- data/app_manager.gemspec +1 -1
- data/lib/app_manager/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 484ae8af849021a80599d2c4fa25c5749df4d57808f9ab4e1b27b67b710c035c
|
|
4
|
+
data.tar.gz: 021b9b80f1dbe4b0a2cd1c7a593b8e4c02c4581e6c65338bdbeb96437b6371f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a735b4356e0f8274be9a793a99da997fe1ece0320935f710364b1a0d9800a287ac92e0873323a79881600aa144772609c4679c5d2718d888e303390d0f744b5c
|
|
7
|
+
data.tar.gz: 3af524d7cfaa472d5f65dd07e227ad6f96e23225acf007ab5c51ea69ef4b58d82f43d2ee898c8f9839d2678e9ccb5f91c6535bbea3205daf63ec313b723d1661
|
data/.github/workflows/ruby.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
app_manager (0.1.
|
|
4
|
+
app_manager (0.1.1)
|
|
5
5
|
httparty
|
|
6
6
|
rails (>= 5.2.0)
|
|
7
7
|
|
|
@@ -75,7 +75,6 @@ GEM
|
|
|
75
75
|
tzinfo (~> 2.0)
|
|
76
76
|
addressable (2.8.0)
|
|
77
77
|
public_suffix (>= 2.0.2, < 5.0)
|
|
78
|
-
ast (2.4.2)
|
|
79
78
|
builder (3.2.4)
|
|
80
79
|
coderay (1.1.3)
|
|
81
80
|
concurrent-ruby (1.1.10)
|
|
@@ -128,11 +127,6 @@ GEM
|
|
|
128
127
|
nokogiri (1.13.3)
|
|
129
128
|
mini_portile2 (~> 2.8.0)
|
|
130
129
|
racc (~> 1.4)
|
|
131
|
-
nokogiri (1.13.3-x86_64-linux)
|
|
132
|
-
racc (~> 1.4)
|
|
133
|
-
parallel (1.22.0)
|
|
134
|
-
parser (3.1.1.0)
|
|
135
|
-
ast (~> 2.4.1)
|
|
136
130
|
pry (0.14.1)
|
|
137
131
|
coderay (~> 1.1)
|
|
138
132
|
method_source (~> 1.0)
|
|
@@ -167,9 +161,7 @@ GEM
|
|
|
167
161
|
rake (>= 12.2)
|
|
168
162
|
thor (~> 1.0)
|
|
169
163
|
zeitwerk (~> 2.5)
|
|
170
|
-
rainbow (3.1.1)
|
|
171
164
|
rake (13.0.6)
|
|
172
|
-
regexp_parser (2.2.1)
|
|
173
165
|
rexml (3.2.5)
|
|
174
166
|
rspec (3.11.0)
|
|
175
167
|
rspec-core (~> 3.11.0)
|
|
@@ -186,24 +178,11 @@ GEM
|
|
|
186
178
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
187
179
|
rspec-support (~> 3.11.0)
|
|
188
180
|
rspec-support (3.11.0)
|
|
189
|
-
rubocop (1.26.1)
|
|
190
|
-
parallel (~> 1.10)
|
|
191
|
-
parser (>= 3.1.0.0)
|
|
192
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
193
|
-
regexp_parser (>= 1.8, < 3.0)
|
|
194
|
-
rexml
|
|
195
|
-
rubocop-ast (>= 1.16.0, < 2.0)
|
|
196
|
-
ruby-progressbar (~> 1.7)
|
|
197
|
-
unicode-display_width (>= 1.4.0, < 3.0)
|
|
198
|
-
rubocop-ast (1.16.0)
|
|
199
|
-
parser (>= 3.1.1.0)
|
|
200
|
-
ruby-progressbar (1.11.0)
|
|
201
181
|
strscan (3.0.1)
|
|
202
182
|
thor (1.2.1)
|
|
203
183
|
timeout (0.2.0)
|
|
204
184
|
tzinfo (2.0.4)
|
|
205
185
|
concurrent-ruby (~> 1.0)
|
|
206
|
-
unicode-display_width (2.1.0)
|
|
207
186
|
webmock (3.14.0)
|
|
208
187
|
addressable (>= 2.8.0)
|
|
209
188
|
crack (>= 0.3.2)
|
|
@@ -220,12 +199,10 @@ PLATFORMS
|
|
|
220
199
|
DEPENDENCIES
|
|
221
200
|
app_manager!
|
|
222
201
|
dotenv (~> 2.1.1)
|
|
223
|
-
minitest (~> 5.0)
|
|
224
202
|
pry
|
|
225
203
|
rake (~> 13.0)
|
|
226
204
|
rspec
|
|
227
205
|
rspec-github
|
|
228
|
-
rubocop (~> 1.7)
|
|
229
206
|
webmock
|
|
230
207
|
|
|
231
208
|
BUNDLED WITH
|
data/README.md
CHANGED
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
# AppManager
|
|
2
2
|
|
|
3
|
-
Welcome to
|
|
3
|
+
Welcome to the new gem of Hulkapps.com ! An API wrapper of Hulkapps.com's AppManager portal.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
|
-
Step 1)
|
|
8
|
-
|
|
9
|
-
bundle config --local GITHUB__COM x___access___token:ACCESS_TOKEN_GITHUB
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Step 2) Add this line to your application's Gemfile:
|
|
7
|
+
Step 1) Add following line to your application's Gemfile:
|
|
13
8
|
|
|
14
9
|
```ruby
|
|
15
|
-
gem 'app_manager'
|
|
10
|
+
gem 'app_manager'
|
|
16
11
|
```
|
|
17
12
|
|
|
18
|
-
Step
|
|
13
|
+
Step 2) Execute following in terminal:
|
|
19
14
|
|
|
20
15
|
bundle install
|
|
21
16
|
|
|
@@ -26,7 +21,7 @@ Step 3) And then execute:
|
|
|
26
21
|
this install command will mount routes in your rails route.
|
|
27
22
|
|
|
28
23
|
|
|
29
|
-
Step
|
|
24
|
+
Step 3) You must have to set ENV variable with key 'APP_MANAGER_ACCESS_TOKEN' in your application.yml or .env file like this:
|
|
30
25
|
|
|
31
26
|
APP_MANAGER_ACCESS_TOKEN: 'XXXXXXXXXXXXXXXXXXX'
|
|
32
27
|
|
|
@@ -38,7 +33,7 @@ APP_MANAGER_ACCESS_TOKEN: 'XXXXXXXXXXXXXXXXXXX'
|
|
|
38
33
|
Then, initialize app_manager instance like with App Manager Portal access:
|
|
39
34
|
|
|
40
35
|
```ruby
|
|
41
|
-
ob = AppManager::Client.new('
|
|
36
|
+
ob = AppManager::Client.new(ENV'APP_MANAGER_ACCESS_TOKEN')
|
|
42
37
|
```
|
|
43
38
|
|
|
44
39
|
To get banners use this command:
|
|
Binary file
|
data/app_manager.gemspec
CHANGED
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
# Uncomment to register a new dependency of your gem
|
|
32
32
|
# spec.add_dependency "example-gem", "~> 1.0"
|
|
33
33
|
spec.add_dependency "httparty"
|
|
34
|
-
spec.add_dependency "rails",
|
|
34
|
+
spec.add_dependency "rails", '>= 5.2.0'
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
# For more information and examples about making a new gem, checkout our
|
data/lib/app_manager/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: app_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hulkapps
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -54,6 +54,7 @@ files:
|
|
|
54
54
|
- Rakefile
|
|
55
55
|
- app/controllers/app_manager/application_controller.rb
|
|
56
56
|
- app/controllers/app_manager/banners_controller.rb
|
|
57
|
+
- app_manager-0.1.0.gem
|
|
57
58
|
- app_manager.gemspec
|
|
58
59
|
- bin/console
|
|
59
60
|
- bin/setup
|