app_manager 2.2.2 → 2.2.3

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: be4fee3fa2e98fefd78bc65eb9172801baadbc53b302b10c885fd113dfa1a508
4
- data.tar.gz: 2c0a489b9bc8fca1f6338373d0fa48b6495d29f794fd3f4fc70c4e6a72271377
3
+ metadata.gz: fb1084d39db6c9e21c292a640e1a9d646787250891f7296d238b6d833a844883
4
+ data.tar.gz: 529a1d620ba1540bba2ab8696ba75112abd92dae02e7ff74514f4bc4316e67f6
5
5
  SHA512:
6
- metadata.gz: 56fa65b2c2e6972d4b0ba43fe5752068f6583b412eb29c55c46d6ee11353af3e374919384ca5d8289b0b13648c05c5cbb1a7fad80cec46a9348b175504330668
7
- data.tar.gz: e24bc7e35e1a3046a637b6805c03fe2a0bce0e9014bb13cd34f5168abc96140aba10974da887dbfa7113a636ee4776fd224b6fa3535855d0d860cb6ad319b797
6
+ metadata.gz: 5b1be10cc3bc40500409ac5a32a7b5d261fb8a5023d87d39ade414377fd19410177ac39f2dbdfdabfdff7e016f853883aecd54bd6ce6fdc631bc6bb1af58001f
7
+ data.tar.gz: fab06e313b8694aa7478956184647a3f695c31ed20e47e240f8260a9e0a0f9b9ab053c6718a5b334e2409a56b238ab6924c9091b6e2b6aa7eaa3407e849e3715
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_manager (2.2.2)
4
+ app_manager (2.2.3)
5
5
  activerecord-import (~> 1.4)
6
6
  httparty
7
7
  kaminari (>= 0.16.3)
@@ -97,6 +97,7 @@ GEM
97
97
  crack (0.4.5)
98
98
  rexml
99
99
  crass (1.0.6)
100
+ csv (3.3.0)
100
101
  date (3.3.4)
101
102
  diff-lcs (1.5.0)
102
103
  dotenv (2.1.2)
@@ -105,7 +106,8 @@ GEM
105
106
  globalid (1.2.1)
106
107
  activesupport (>= 6.1)
107
108
  hashdiff (1.0.1)
108
- httparty (0.21.0)
109
+ httparty (0.22.0)
110
+ csv
109
111
  mini_mime (>= 1.0.0)
110
112
  multi_xml (>= 0.5.2)
111
113
  i18n (1.14.4)
@@ -201,7 +203,7 @@ GEM
201
203
  rake (13.0.6)
202
204
  rdoc (6.6.3.1)
203
205
  psych (>= 4.0.0)
204
- reline (0.5.3)
206
+ reline (0.5.4)
205
207
  io-console (~> 0.5)
206
208
  rexml (3.2.5)
207
209
  rspec (3.11.0)
data/README.md CHANGED
@@ -219,7 +219,7 @@ and then you can use follwing methods with your shop objects.
219
219
  * Update app manager gem in your project's Gemfile
220
220
 
221
221
  ```ruby
222
- gem 'app_manager', '2.2.2'
222
+ gem 'app_manager', '2.2.3'
223
223
  ```
224
224
  * In Rails project, in application.rb, add following line after require "rails/all" line
225
225
 
@@ -31,7 +31,7 @@ module AppManager
31
31
  end
32
32
  end
33
33
  rescue Exception => e
34
- Rollbar.error("APP MANAGER Process Plan Failed #{e}")
34
+ Rollbar.error("APP MANAGER Process Plan Failed #{e.inspect}-#{e.backtrace}")
35
35
  end
36
36
  @trial_activated_field = AppManager.configuration.field_names['trial_activated_at']
37
37
  update_info = {@plan_field => params[:plan_id], @trial_activated_field => nil,grandfathered_field => 0}
@@ -49,7 +49,7 @@ module AppManager
49
49
  "shopify_domain" => params[:shop]
50
50
  })
51
51
  rescue Exception => e
52
- Rollbar.error("APP MANAGER Error in Process Plan #{e}")
52
+ Rollbar.error("APP MANAGER Error in Process Plan #{e.inspect}-#{e.backtrace}")
53
53
  end
54
54
  AppManager.clear_cache
55
55
  # render json: {'redirect_url' => "#{app_url}?shop=#{params[:shop]}"} and return true
@@ -135,7 +135,7 @@ module AppManager
135
135
  "shopify_domain" => params[:shop]
136
136
  })
137
137
  rescue Exception => e
138
- Rollbar.error("Error in APP MANAGER Charge Created Callback >>>> #{e.inspect}")
138
+ Rollbar.error("Error in APP MANAGER Charge Created Callback >>>> #{e.inspect}-#{e.backtrace}")
139
139
  end
140
140
 
141
141
  begin
@@ -146,8 +146,8 @@ module AppManager
146
146
  plan_obj.discount_used(@shop[shopify_domain], params[:discount])
147
147
  end
148
148
  end
149
- rescue
150
- Rollbar.error("Error in APP MANAGER Discount used API call >>>> #{e.inspect}")
149
+ rescue Exception => e
150
+ Rollbar.error("Error in APP MANAGER Discount used API call >>>> #{e.inspect}-#{e.backtrace}")
151
151
  end
152
152
  end
153
153
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppManager
4
- VERSION = "2.2.2"
4
+ VERSION = "2.2.3"
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: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahul Tiwari @ Hulkapps
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-29 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty