nvar 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: 49a1bf64e13ee7123255619b7e6d6c24d9093b01b1e93b7c69d1318f4076a182
4
- data.tar.gz: c007313b2c059f2f728fff36ca413b43a9f1bfbf6733f72d4bf647426bf93db1
3
+ metadata.gz: bc50fc2cf63ed49d3671ec10dd9279e5a200c1634ade7c6633482bddaa870dfe
4
+ data.tar.gz: 2f19a26d8e083fde95334cc0d0998d4b6cb8e2eeafd955b5dc3d3954927b6bb9
5
5
  SHA512:
6
- metadata.gz: 570b2e0bf08c060e4786d6f51c9a12255c9c005fc87dee908980a9530fb6e28e1ec689c2af5635b9fa4197ea2e19153fda6108010c03d04f9c21965cdc4d789b
7
- data.tar.gz: 693a6194f20c4dbd736d377912b4657fa29f59a86cf52877096e065edcfdcc4efd82b79f30d5475338b4230b98678a3e374a853ab8087d30bb231ffaef602277
6
+ metadata.gz: 98aa1a93523ab7759c577bfa507a86488788a754e8c2c36fc997c5f2fc7574867fd4a75f8c02ea398daf6c7743be69805b11890712bbb04a149b121c1582a70b
7
+ data.tar.gz: abb3c611bf5254f9691df14b2ad6d9da2c3f4261e406b76e278abca5b4329724e757bdd374c32ec2e32bbeba6ddea86885f176a4a9b81dc5c22f0c8a0f001c10
data/lib/nvar/engine.rb CHANGED
@@ -10,8 +10,8 @@ module Nvar
10
10
  # error if it can't source a required env var from the environment, and set
11
11
  # values for use during tests.
12
12
  config.after_initialize do |app|
13
- Nvar::EnvironmentVariable.configure_for_rails(app)
14
- Nvar::EnvironmentVariable.load_all
13
+ Nvar.configure_for_rails(app)
14
+ Nvar.load_all
15
15
  rescue Nvar::EnvironmentVariableNotPresentError => e
16
16
  raise e unless Rails.env.test?
17
17
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  namespace :nvar do
4
4
  task :verify_environment_file do
5
- Nvar::EnvironmentVariable.configure_for_rails(Rails)
6
- Nvar::EnvironmentVariable.verify_env ? exit : exit(1)
5
+ Nvar.configure_for_rails(Rails)
6
+ Nvar.verify_env ? exit : exit(1)
7
7
  end
8
8
  end
data/lib/nvar/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nvar
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
@@ -1,6 +1,7 @@
1
1
  #!/bin/bash
2
2
  # Exit if repo already exists
3
3
  [ -d "replicate-bug" ] && echo "Sample repo exists. Rename or remove it to begin." && exit
4
+ set -e
4
5
  branch_name=$(git rev-parse --abbrev-ref HEAD)
5
6
  # Ensure that when we install nvar in the repo, we install this copy.
6
7
  bundle config local.nvar $(pwd)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nvar
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
  - Simon Fish