app_manager 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 27423f35ef993aa4fc5716ea3725fce6d89592e091fed502814297a0d30537e5
4
- data.tar.gz: f520e79e59f1a0e140caa5144062914e9b003a314c53b0226a6bea3c1ff3c70e
3
+ metadata.gz: 484ae8af849021a80599d2c4fa25c5749df4d57808f9ab4e1b27b67b710c035c
4
+ data.tar.gz: 021b9b80f1dbe4b0a2cd1c7a593b8e4c02c4581e6c65338bdbeb96437b6371f6
5
5
  SHA512:
6
- metadata.gz: 1693f542abdc932310c7b333047d34eb63922e2f72ba80cb4b4f3f9dea4de53aab3b46375e0ce0873e690f3508084420c0bfcb9f39581bfdd44fa25500a5ca5b
7
- data.tar.gz: a426561b6301ab6756b632450b331fc95480ae2a4319cb27767e09a5549f8932eb7b98ca8dd2d53f2aac1269b1d361a451bd0725f7c02475d7782dd389eb2ef3
6
+ metadata.gz: a735b4356e0f8274be9a793a99da997fe1ece0320935f710364b1a0d9800a287ac92e0873323a79881600aa144772609c4679c5d2718d888e303390d0f744b5c
7
+ data.tar.gz: 3af524d7cfaa472d5f65dd07e227ad6f96e23225acf007ab5c51ea69ef4b58d82f43d2ee898c8f9839d2678e9ccb5f91c6535bbea3205daf63ec313b723d1661
@@ -38,5 +38,4 @@ jobs:
38
38
  - name: Run tests
39
39
  run: |
40
40
  bundle install
41
- bundle exec rspec spec
42
-
41
+ bundle exec rspec spec
data/Gemfile CHANGED
@@ -7,9 +7,9 @@ gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
9
9
 
10
- gem "minitest", "~> 5.0"
10
+ # gem "minitest", "~> 5.0"
11
11
 
12
- gem "rubocop", "~> 1.7"
12
+ # gem "rubocop", "~> 1.7"
13
13
 
14
14
 
15
15
  group :test do
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_manager (0.1.0)
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 your new gem! An API wrapper of Hulkapps.com AppManager portal.
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) Run this command to your rails project root (Please replace ACCESS_TOKEN_GITHUB from your github token to access this repo) :
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', git: "https://github.com/HulkApps/app-manager-sdk-ruby.git"
10
+ gem 'app_manager'
16
11
  ```
17
12
 
18
- Step 3) And then execute:
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 4) You must have to set ENV variable with key 'ACCESS_TOKEN_APP_MANAGER_PORTAL' in your application.yml or .env file like this:
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('ACCESS_TOKEN_APP_MANAGER_PORTAL')
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", ">= 5.2.0"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppManager
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
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.0
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-03-29 00:00:00.000000000 Z
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