checkoff 0.1.1 → 0.1.2

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: 8eda5499a65efce1e6439d1f91558d00e358dde1
4
- data.tar.gz: 8390ace557f726d0a6a80bb3411de2459a2f5345
3
+ metadata.gz: aa5db0770176136646b1abe9daed13a86c5d1b92
4
+ data.tar.gz: a2d23b7210830073ca5896bb348d3da8e5025d92
5
5
  SHA512:
6
- metadata.gz: ef603fb6034b3b37d8587225a1fadf0dbd42e508197e22f9a075dd2a0fe7263ee7f75906098e0c4b50f1b7b743b4e1b85b9b21f049281eed0ded528b0e6a4d84
7
- data.tar.gz: c94b4a269d580b99e6e44614ed070c770dee3ccfb909e8e9772e41a99d3bacbf725e993b8e8f193d5302c3f727bedbc9102c0c954887959a80e8aea9344cff62
6
+ metadata.gz: 464246ff90bd41b097c04887c3a91b38c45f04513877bf061e90d6edd3c9268840c759b0012afda92c3e5381b94cd9ef51970abb98aab11cdb640c0d2e8b7c67
7
+ data.tar.gz: 5809256f6164b78db7a53276d0abac32b900e1213a662c92a7681018bea1e150d613fe9c2026dd5fef109231f08ca7b94b81b47db06ed2162933cd8db059815b
@@ -1,11 +1,13 @@
1
1
  require 'yaml'
2
2
  require 'active_support/core_ext/hash'
3
3
 
4
- # Load configuration file
5
- class ConfigLoader
6
- def self.load(sym)
7
- file = "#{sym}.yml"
8
- YAML.load_file(File.expand_path("~/.#{file}"))
9
- .with_indifferent_access
4
+ module Checkoff
5
+ # Load configuration file
6
+ class ConfigLoader
7
+ def self.load(sym)
8
+ file = "#{sym}.yml"
9
+ YAML.load_file(File.expand_path("~/.#{file}"))
10
+ .with_indifferent_access
11
+ end
10
12
  end
11
13
  end
@@ -22,7 +22,7 @@ module Checkoff
22
22
 
23
23
  # XXX: Move low-level functions private
24
24
 
25
- def initialize(config: ConfigLoader.load(:asana),
25
+ def initialize(config: Checkoff::ConfigLoader.load(:asana),
26
26
  asana_client: Asana::Client)
27
27
  @config = config
28
28
  @asana_client = asana_client
@@ -1,3 +1,3 @@
1
1
  module Checkoff
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-19 00:00:00.000000000 Z
11
+ date: 2016-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dalli