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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2676f0b1b545d06813c475018c0f06521aa6884
4
- data.tar.gz: 580067ac72e296e20a127e3ed1238b0ed711a9a7
3
+ metadata.gz: 0495b1024cb6845fd6a830709e77a67ab7439e85
4
+ data.tar.gz: 4a0ee9be23bc8abb702208d560dba4e212cf6849
5
5
  SHA512:
6
- metadata.gz: e60e331e41bac8fc9d3698315506ef5acd170171e0da2692cf6d4337857a346a4108cfbbe0a6da33a5a2413d00721f44867b0ccd9732e359ee110dca7d487f17
7
- data.tar.gz: 2c3062dfef0220a06659fbbee5cd89287306c77bc5ee55b1c030813df6000eca03a6cc629a6a4fdc6dee83d502b032e27164bedca9ed5c21c7f475854152fc79
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 'sink'
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 sink
17
+ $ gem install sink_utility
18
18
 
19
19
  ## Usage
20
20
 
data/bin/sink CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- require 'sink'
2
+ require 'sink_utility'
3
3
 
4
4
  user = SinkUtility::User.new
5
5
  initit = SinkUtility::Initialize.new
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
@@ -1,3 +1,3 @@
1
1
  module SinkUtility
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sink_utility
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
  - Grantlyk