config-factory 0.0.3 → 0.0.4

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: 6df018c1887575a05ae4c5b4211cf748e72d2a9b
4
- data.tar.gz: 15fb840702445da9f2869ebb50a7af22df1ddf68
3
+ metadata.gz: 96335fd2263daaa0f5ccaf7134db58b06dc7bdc0
4
+ data.tar.gz: d669efdff53e922c0bd24a86d6f0f913e5ffaaad
5
5
  SHA512:
6
- metadata.gz: b647964bd6cca0bfd4f04996da07593ff502b6b99e12aaf145cb3d64296b26e5a85ffc5f2c461efc7fd6d7273cb87746dddb8fd108c0e0005aaa57da9aacd588
7
- data.tar.gz: e4d29e97e650c279524a0f3c24984488016060a53c9b3b9446fd46270c8ba81057a3e1ca301d2675ea435da4dd1e65cff06c95cd0ee472feb02f3817aa0a194b
6
+ metadata.gz: 6df85a30ae114c64489d21715fcc5604298260c7eae52f192257c2965fc165ff2a5216729c12348adcfce04988bd88cb1076d44d73c119645f5b0ac31a173a90
7
+ data.tar.gz: 83ece573328e047f16fb0ce0d149d31a6551a2907670d0b53be7c91ef019b9825cc4547f23f40955de32ad8a204a2a527df4e43ad0bf9588d78209a1084ac0d5
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.0.4 (27 January 2016)
2
+
3
+ - Make gemspec smart enough to handle SSH checkouts
4
+
1
5
  ## 0.0.3 (5 January 2016)
2
6
 
3
7
  - Additional error checking in `Environment#load_file` and `Environments#load_file`
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'A gem for creating configuration classes using the Abstract Factory pattern, with run-time configuration provided by hashes or YAML files.'
15
15
  spec.license = 'MIT'
16
16
 
17
- origin_uri = URI(`git config --get remote.origin.url`.chomp)
17
+ origin = `git config --get remote.origin.url`.chomp
18
+ origin_uri = origin.start_with?('http') ? URI(origin) : URI(origin.sub('git@github.com:', 'https://github.com/'))
18
19
  spec.homepage = URI::HTTP.build(host: origin_uri.host, path: origin_uri.path.chomp('.git')).to_s
19
20
 
20
21
  spec.files = `git ls-files -z`.split("\x0")
@@ -4,9 +4,9 @@ module Config
4
4
  NAME = 'config-factory'
5
5
 
6
6
  # The version of this gem
7
- VERSION = '0.0.3'
7
+ VERSION = '0.0.4'
8
8
 
9
9
  # The copyright notice for this gem
10
- COPYRIGHT = 'Copyright (c) 2015 The Regents of the University of California'
10
+ COPYRIGHT = 'Copyright (c) 2016 The Regents of the University of California'
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: config-factory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Moles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-05 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler