boxen-linux 2.7.1 → 2.7.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 +4 -4
- data/boxen.gemspec +1 -1
- data/lib/boxen/keychain.rb +1 -3
- data/script/Boxen-linux +0 -0
- data/src/keyring-helper.c +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df3cc01cc5842942c057b979ffbc9f40076e08b0
|
|
4
|
+
data.tar.gz: 5a1f9800b034554bd96d0fc0804ad13a423edc96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eeaed2aad0f4f2a57640bb8dd7890c186f47b822ed84f1f83045ea8e9545b34bb84a94884c172aae5a155d7614139655f99034ef27b5f47b82f4cd489a2a38a7
|
|
7
|
+
data.tar.gz: 8c8d321e4a578dd9aa1ab93719c4f22392534b91b8d52e5dc98138ac1a6cbe4917d887cd91556ee91f36fc45b5d6dc110f63d5f467071e7ebceea1373eddb985
|
data/boxen.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = "boxen-linux"
|
|
5
|
-
gem.version = "2.7.
|
|
5
|
+
gem.version = "2.7.2"
|
|
6
6
|
gem.authors = ["John Barnette", "Will Farrington", "David Goodlad", "Max Klein"]
|
|
7
7
|
gem.email = ["jbarnette@github.com", "wfarr@github.com", "dgoodlad@github.com", "mklein@jhu.edu"]
|
|
8
8
|
gem.description = "Manage Mac and Linux development boxes with love (and Puppet)."
|
data/lib/boxen/keychain.rb
CHANGED
|
@@ -38,15 +38,13 @@ module Boxen
|
|
|
38
38
|
attr_reader :login
|
|
39
39
|
|
|
40
40
|
def get(service)
|
|
41
|
-
print 'get', HELPER, service, login
|
|
42
41
|
cmd = shellescape(HELPER, service, login)
|
|
43
|
-
|
|
42
|
+
|
|
44
43
|
result = `#{cmd}`.strip
|
|
45
44
|
$?.success? ? result : nil
|
|
46
45
|
end
|
|
47
46
|
|
|
48
47
|
def set(service, token)
|
|
49
|
-
print 'set', HELPER, service, login, token
|
|
50
48
|
cmd = shellescape(HELPER, service, login, token)
|
|
51
49
|
|
|
52
50
|
unless system *cmd
|
data/script/Boxen-linux
CHANGED
|
Binary file
|
data/src/keyring-helper.c
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
#include "gnome-keyring.h"
|
|
5
5
|
|
|
6
6
|
#define REPORT_KEYRING_ERROR(err_val) do { \
|
|
7
|
-
fprintf(stderr, "Boxen Keyring Helper: Encountered gnome keyring error code: %d\n", err_val); \
|
|
7
|
+
fprintf(stderr, "Boxen Keyring Helper: Encountered gnome keyring error code: %d at %d:%s\n", err_val,__LINE__,__FILE__); \
|
|
8
|
+
fprintf(stderr, "Error: %s\n", gnome_keyring_result_to_message(err_val)); \
|
|
8
9
|
} while(0)
|
|
9
|
-
//fprintf(stderr, "Error: %s\n", CFStringGetCStringPtr(SecCopyErrorMessageString(err_val, NULL), kCFStringEncodingMacRoman));
|
|
10
10
|
|
|
11
11
|
GnomeKeyringPasswordSchema GenericPassword = {
|
|
12
12
|
GNOME_KEYRING_ITEM_CHAINED_KEYRING_PASSWORD,
|