ppl 2.3.3 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/lib/ppl/adapter/storage/git.rb +7 -4
- data/lib/ppl.rb +1 -1
- data/ppl.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b49a2cceb54b4ee3b05d5d4c27ee3cbda36ebfbc
|
4
|
+
data.tar.gz: 6f0aa6699ffa9da4890b9526e8f166158e78d77a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea1764de2c16aa7630309ecbde9ef05c46d0ff0914a11beb9a29031e5013694c848bf9f8efd460ff4defa39eb261b6912caa157bdc4c3ce1a95fbceb64ca94d
|
7
|
+
data.tar.gz: db473dff006d114dee4b99ca9bd20f9c9c3b748e29beb0eeef940c22ae3df14fadabf5359b37850396d7582147b2c1cd1275b3dc9e837c639623cac433fef28f
|
data/README.md
CHANGED
@@ -12,9 +12,8 @@ ppl if:
|
|
12
12
|
* You want ownership of your address book data back from the cloud
|
13
13
|
* You prefer to keep your data stored in an open format
|
14
14
|
|
15
|
-
[![Build Status](https://
|
16
|
-
[![Code Climate](https://codeclimate.com/github/
|
17
|
-
[![Coverage Status](https://coveralls.io/repos/hnrysmth/ppl/badge.png?branch=master)](https://coveralls.io/r/hnrysmth/ppl?branch=master)
|
15
|
+
[![Build Status](https://travis-ci.org/ppladdressbook/ppl.svg?branch=2.3.3)](https://travis-ci.org/ppladdressbook/ppl)
|
16
|
+
[![Code Climate](https://codeclimate.com/github/ppladdressbook/ppl/badges/gpa.svg)](https://codeclimate.com/github/ppladdressbook/ppl)
|
18
17
|
|
19
18
|
Installation
|
20
19
|
------------
|
@@ -84,13 +84,16 @@ class Ppl::Adapter::Storage::Git < Ppl::Adapter::Storage
|
|
84
84
|
update_ref = "HEAD"
|
85
85
|
end
|
86
86
|
|
87
|
-
|
88
|
-
|
87
|
+
begin
|
88
|
+
git_config = Rugged::Config.open_global.to_hash
|
89
|
+
rescue Rugged::OSError
|
90
|
+
git_config = {}
|
91
|
+
end
|
89
92
|
|
90
93
|
author = {
|
91
|
-
:email =>
|
94
|
+
:email => git_config.fetch('user.email', "#{ENV['USER']}@#{Socket.gethostname}"),
|
92
95
|
:time => Time.now,
|
93
|
-
:name => name,
|
96
|
+
:name => git_config.fetch('user.name', ENV['USER']),
|
94
97
|
}
|
95
98
|
|
96
99
|
data = {
|
data/lib/ppl.rb
CHANGED
data/ppl.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ppl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henry Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored
|