instrumental-components 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7203f1cfb2dc60741b2d32e8809ad7ff62e697147f7baec3fcab6f45a1ad16c8
4
- data.tar.gz: 2201c5c0f9c44ff8936ee0b98d09a00563105742e2bc3fa20d2732ca04162edd
3
+ metadata.gz: e9134d8994b32c063ea2afc84d6d29bf66bbef20ce5801969d1974f51764deaa
4
+ data.tar.gz: cb22ab02231caf65280bff6155e77d66d1ca4882fcd359cca39fbd31f54c7ab0
5
5
  SHA512:
6
- metadata.gz: 9b01288d0e5760371151256075d4c79c36ac58c93f7778fc16f9be0ea802ddaa886c876cbbb80a290d81fe059da6ee9f1ebdca8e224e46336c32ef82eae5ae59
7
- data.tar.gz: 662f70f580696eb3b01774df1906b1225b7e16db8fe180789ea7ffa1ac295fe8c242d1107d13bf2c6cb7e74b7f6ae75c02c36f723a3f541e0c92a0e8fe80f86d
6
+ metadata.gz: 610931e9290c712d7c03e9dd47beae6ff8b57c1905b7ac844ecda96bb86040d27245623d7cbac268b7f7a310c4439638eaaf489b1a8f2d5d0b4d51375d734cf6
7
+ data.tar.gz: 62092b9ff3f040cb39a747c559c723b25c65d47f1780a21b0086fccc1f08407d38ada17f6110b2b272fea451edf611f4ec57829aaa5c9f93429cb0cd0e2ca5a6
@@ -12,10 +12,15 @@ module InstrumentalComponents
12
12
 
13
13
  def install
14
14
  puts "📥 Downloading the latest version of Instrumental Components..."
15
+ puts "Debug: Starting installation process..."
15
16
 
16
17
  begin
17
- # Load .env file if it exists
18
- Dotenv.load if File.exist?('.env')
18
+ # Load .env file if it exists (for local development only)
19
+ if File.exist?('.env')
20
+ puts "Debug: Loading local .env file..."
21
+ Dotenv.load
22
+ end
23
+ puts "Debug: Environment variables - INSTRUMENTAL_DOMAIN = #{ENV['INSTRUMENTAL_DOMAIN'].inspect}"
19
24
 
20
25
  # Download the latest version of the gem
21
26
  download_gem
@@ -45,8 +50,10 @@ module InstrumentalComponents
45
50
  private
46
51
 
47
52
  def download_gem
53
+ puts "Debug: Starting download_gem method..."
48
54
  # For local development, set INSTRUMENTAL_DOMAIN=http://localhost:3000 in .env
49
55
  # This allows testing against a local server while developing the gem
56
+ puts "Debug: INSTRUMENTAL_DOMAIN = #{ENV['INSTRUMENTAL_DOMAIN'].inspect}"
50
57
  domain = ENV['INSTRUMENTAL_DOMAIN'] || 'https://instrumental.dev'
51
58
  unless 'https://instrumental.dev' == domain
52
59
  puts "Using domain: #{domain}" # Confirm that we're in local development mode
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instrumental-components
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
  - Brian Casel
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-05-11 00:00:00.000000000 Z
10
+ date: 2025-05-13 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: open-uri