zenv 1.0.0 → 1.0.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
  SHA1:
3
- metadata.gz: b1df55652a6508cc08bf94d84a0387c6299db04d
4
- data.tar.gz: 96ae5137953732b39513021bd14f4278ac5831ce
3
+ metadata.gz: a04ceca2d980622088f13ce6c76533c81a2207d2
4
+ data.tar.gz: ca1d0bdfcb286a56cf2cc2ff4949f0eb6ee52248
5
5
  SHA512:
6
- metadata.gz: 044b22587347c9225a75b645337201f162676400f69bce4d5198f00020f1970f7eb6a1bad77587193901f2773a43f46ab59ecb765d58b711a74c0c393227765d
7
- data.tar.gz: 7b6907ad555619e21768bef2f948f91c576412d59ab61c0ac73f105024f1e0e20fa0ffd7c6a2585242a43b2a93a48dafc2c5471f3c6cc260ee82a0b7c28dd831
6
+ metadata.gz: 7f477d9f84e0f7005a2639982c1a2f7d8d82b1b5340a71f13821ce95a689e07c657108acefe997acb537b1226560bdc4abe588c83a13c45d922433839fc92326
7
+ data.tar.gz: bc0c9a8a90eec201a5b3c92260b5886beac9bb1b2d2c515a75bf3a2eb5f56f228b14c66fe5417d09ac5253bd47689d998dde63722d78789cf022a60b4770f29e
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.1
4
+ install:
5
+ - gem install bundler
6
+ - bundle install
7
+ script:
8
+ - rspec
data/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Simple and flexible approach to loading environment variables.
4
4
 
5
+ ## Status
6
+
7
+ [![Build Status](https://travis-ci.org/austinthecoder/zenv.svg?branch=master)](https://travis-ci.org/austinthecoder/zenv)
8
+
5
9
  ## Installation
6
10
 
7
11
  Add this line to your application's Gemfile:
@@ -20,7 +24,7 @@ Or install it yourself as:
20
24
 
21
25
  ## Usage
22
26
 
23
- Create a '.zenv' file at the root of your project:
27
+ Create a `.zenv` file at the root of your project:
24
28
 
25
29
  ```ruby
26
30
  {
data/lib/zenv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Zenv
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/zenv.rb CHANGED
@@ -5,8 +5,6 @@ module Zenv
5
5
  @pathname = Pathname.new '.zenv'
6
6
 
7
7
  class << self
8
- attr_writer :pathname
9
-
10
8
  private
11
9
 
12
10
  attr_reader :pathname, :namespace_loaded
@@ -34,7 +32,7 @@ module Zenv
34
32
  ENV[key.to_s] = value
35
33
  end
36
34
 
37
- namespace_loaded = namespace
35
+ @namespace_loaded = namespace
38
36
 
39
37
  puts "[Zenv] loaded #{namespace_loaded.inspect}"
40
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Schneider
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-06 00:00:00.000000000 Z
11
+ date: 2016-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -62,6 +62,7 @@ extra_rdoc_files: []
62
62
  files:
63
63
  - ".gitignore"
64
64
  - ".rspec"
65
+ - ".travis.yml"
65
66
  - ".zenv"
66
67
  - CHANGELOG.md
67
68
  - Gemfile