Skip to content

Commit 4a2fbbc

Browse files
committed
Using dotenv
1 parent 985fec9 commit 4a2fbbc

File tree

6 files changed

+18
-3
lines changed

6 files changed

+18
-3
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111
.rspec_status
1212
.idea/
1313
spec/vcr_cassettes
14+
/.env
15+
/.env.*

Gemfile.lock

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
arlo (0.0.6)
4+
arlo (0.0.7)
55

66
GEM
77
remote: https://rubygems.org/
@@ -11,6 +11,7 @@ GEM
1111
crack (0.4.3)
1212
safe_yaml (~> 1.0.0)
1313
diff-lcs (1.3)
14+
dotenv (2.5.0)
1415
hashdiff (0.3.7)
1516
public_suffix (3.0.2)
1617
rake (10.5.0)
@@ -40,10 +41,11 @@ PLATFORMS
4041
DEPENDENCIES
4142
arlo!
4243
bundler
44+
dotenv
4345
rake (~> 10.0)
4446
rspec (~> 3.0)
4547
vcr (~> 4.0)
4648
webmock (~> 3.4, >= 3.4.2)
4749

4850
BUNDLED WITH
49-
1.16.2
51+
1.16.3

arlo.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
3232
spec.require_paths = ['lib']
3333

3434
spec.add_development_dependency 'bundler', '~> 1.16'
35+
spec.add_development_dependency 'dotenv'
3536
spec.add_development_dependency 'rake', '~> 10.0'
3637
spec.add_development_dependency 'rspec', '~> 3.0'
3738
spec.add_development_dependency 'vcr', '~> 4.0'

changelog.md

+7
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,10 @@
2020

2121
* Added API to record video from a given camera
2222

23+
## 2018-08-07
24+
25+
### Non-breaking
26+
27+
* Using the dotenv gem to store environment variables
28+
29+

lib/arlo.rb

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
require 'dotenv'
2+
Dotenv.load
3+
14
require_relative 'arlo/network_helper'
25

36
module Arlo

lib/arlo/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Arlo
2-
VERSION = '0.0.6'
2+
VERSION = '0.0.7'
33
end

0 commit comments

Comments
 (0)