hot-glue 0.4.3 → 0.4.4

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: d47957c2da1cdb01154d9f1c38f0b75a5b49884170ba3c828c2e09deed802434
4
- data.tar.gz: 9163970db2cd3ce1b500b685a98f012aff047e2d0405567d5b58593660064af5
3
+ metadata.gz: bd135c9fa591539fefc73e5a5c9bd546cb926d155a8ddc670fb58d4b22335c7e
4
+ data.tar.gz: fa992b698844c364585c50961fc44942664cfe0c031829ef6967d8ac00695062
5
5
  SHA512:
6
- metadata.gz: 03ffdc5b1334eb92efe53dd4f4a9e8619dbb1b4a654f5f491a52b013770eb144e2d493ca4cfa8c3177d171515e803c18beb8c29a0419dac7fd431e143b373e14
7
- data.tar.gz: 127404dffcd900f65297a7fc4aa73b81fab8caf035aa80787649a73d216a09f23b10c45c20ebbf2b4589292ee5564211f6db2234d2e2743b7ae7373f5cd53059
6
+ metadata.gz: 037bdcb495e668e76763cd97a5b11781dbd5ab43c998f7ebcdc66e018586207185e95cb4707f1ade4a82391a2cd1c1fa537b9d7f299a87f531bcb461e41f3bc9
7
+ data.tar.gz: 2cb4bf43bf3ac0aa7ea9101255056982e410d12f15226eaceb4385919865082f700c3ab9aa2b45e1ce71f90b6e757e1663db3139b0673215246ba73ee5949cac
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hot-glue (0.4.2)
4
+ hot-glue (0.4.3)
5
5
  ffaker (~> 2.16)
6
6
  kaminari (~> 1.2)
7
7
  rails (> 5.1, <= 7)
@@ -31,7 +31,7 @@ module HotGlue
31
31
 
32
32
 
33
33
  print "Do you have a license key (y/N)? "
34
- do_you_have_a_license = STDIN.gets.strip || "Y"
34
+ do_you_have_a_license = STDIN.gets.strip || "N"
35
35
 
36
36
  if do_you_have_a_license.downcase == "y"
37
37
  print "Please enter the EMAIL you used to purchase a Hot Glue license, \nTeachable tutorial, or Helios Merch Shop product: "
@@ -43,7 +43,9 @@ module HotGlue
43
43
  resp = JSON.parse(stream.read)
44
44
 
45
45
  if resp['status'] == 'success'
46
- # we good
46
+ if resp['redirect']
47
+ HotGlue::Helpers.open_page(resp['redirect'])
48
+ end
47
49
  puts "\n" + " * " + resp['response'] + " * \n\n"
48
50
  else
49
51
  puts "\n" + " * " + resp['response'] + " * \n\n"
@@ -53,7 +55,6 @@ module HotGlue
53
55
  print "https://jfb.teachable.com/p/hot-glue-in-depth-tutorial \n"
54
56
  print "https://shop.heliosdev.shop/ \n"
55
57
  print "All purchases come with a Hot Glue lifetime license for individuals and hobbyists\n"
56
-
57
58
  return
58
59
  end
59
60
  else
@@ -67,12 +68,12 @@ module HotGlue
67
68
  if choice == "1"
68
69
  HotGlue::Helpers.open_page("https://heliosdev.shop/hot-glue-license?utm_campaing=hotglue-installer")
69
70
  elsif choice == "2"
70
- HotGlue::Helpers.open_page("https://jfb.teachable.com/p/hot-glue-in-depth-tutorial?utm_campaing=hotglue-installer")
71
+ HotGlue::Helpers.open_page("https://jfb.teachable.com/p/hot-glue-in-depth-tutorial?utm_source=hotglue-installer")
71
72
  print "All purchases come with a Hot Glue lifetime license for individuals and hobbyists\n"
72
73
 
73
74
  else
74
- HotGlue::Helpers.open_page("https://shop.heliosdev.shop/?utm_campaing=hotglue-installer")
75
- print "Be sure to ALSO check out the HOT GLUE TUTORIAL here: \n"
75
+ HotGlue::Helpers.open_page("https://shop.heliosdev.shop/?utm_source=hotglue-installer")
76
+ print "ALSO check out the HOT GLUE TUTORIAL here: \n"
76
77
  print "https://jfb.teachable.com/p/hot-glue-in-depth-tutorial \n"
77
78
  print "All purchases come with a Hot Glue lifetime license for individuals and hobbyists\n"
78
79
  end
@@ -1,3 +1,3 @@
1
1
  module HotGlue
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hot-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Fleetwood-Boldt
@@ -145,19 +145,15 @@ files:
145
145
  - lib/hot-glue.rb
146
146
  - lib/hotglue/engine.rb
147
147
  - lib/hotglue/version.rb
148
- homepage: https://jasonfleetwoodboldt.com/hot-glue/
148
+ homepage: https://jfb.teachable.com/p/hot-glue-in-depth-tutorial?utm_source=rubygems.org&utm_campaign=rubygems_link
149
149
  licenses:
150
150
  - Commercial with free option
151
151
  metadata:
152
152
  source_code_uri: https://github.com/jasonfb/hot-glue
153
- tutorial: https://jfbcodes.com/hot-glue-tutorial
154
- buy_license: https://heliosdev.shop/hot-glue-licens
155
- get_merch: https://shop.heliosdev.shop/?utm_source=rubygems&utm_campaign=hot_glue_gem_metadata
156
153
  post_install_message: |
157
154
  ---------------------------------------------
158
155
  Welcome to Hot Glue - A Scaffold Building Companion for Hotwire + Turbo-Rails
159
-
160
- To purchase a license, please visit https://heliosdev.shop/hot-glue-license
156
+ For license options visit https://heliosdev.shop/hot-glue-license
161
157
  ---------------------------------------------
162
158
  rdoc_options: []
163
159
  require_paths: