sink_utility 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 +4 -4
- data/README.md +2 -2
- data/bin/sink +1 -1
- data/lib/sink_utility.rb +2 -2
- data/lib/sink_utility/version.rb +1 -1
- 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: 0495b1024cb6845fd6a830709e77a67ab7439e85
|
4
|
+
data.tar.gz: 4a0ee9be23bc8abb702208d560dba4e212cf6849
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 516c2ef4dfab1b0d57fe4900edb2010dfffd86cd2602b22104385e03af62b7c0401a0a2bd2fe9846657370db7a7bdbf4a349d54676ef83fafdb008117e00db86
|
7
|
+
data.tar.gz: c67ae30b60d16588497708c5dca58a04c1e0fc4b7e5436671d01e843ada6c875e27b198d8e787dd0fa9db352e6d1123cad199aa5ab06666b054d2a4352e151e6
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Sink was inspired by the DDoS of github and was created to help keep its users s
|
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
gem '
|
9
|
+
gem 'sink_utility'
|
10
10
|
|
11
11
|
And then execute:
|
12
12
|
|
@@ -14,7 +14,7 @@ And then execute:
|
|
14
14
|
|
15
15
|
Or install it yourself as:
|
16
16
|
|
17
|
-
$ gem install
|
17
|
+
$ gem install sink_utility
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
data/bin/sink
CHANGED
data/lib/sink_utility.rb
CHANGED
@@ -47,8 +47,8 @@ module SinkUtility
|
|
47
47
|
def current_users
|
48
48
|
store = YAML::Store.new("data.yml")
|
49
49
|
current_users = []
|
50
|
-
current_users << "Bitbucket: " + store.transaction { store[:bitbucket_user] }
|
51
|
-
current_users << "Github: " + store.transaction { store[:github_user] }
|
50
|
+
current_users << "Bitbucket: " + store.transaction { store[:bitbucket_user] } if store.transaction { store[:bitbucket_user] }
|
51
|
+
current_users << "Github: " + store.transaction { store[:github_user] } if store.transaction { store[:github_user] }
|
52
52
|
return current_users
|
53
53
|
end
|
54
54
|
end
|
data/lib/sink_utility/version.rb
CHANGED