netid-tools 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -112,7 +112,7 @@ The NetID you want to check
112
112
  >> Netid.check_for_localhome("nikky","nikky")
113
113
  => "/ov03/d20/nikky"
114
114
 
115
- ## Netid#quota_check(user,system_user)
115
+ ## Netid#check_quota(user,system_user)
116
116
 
117
117
  ### What it does
118
118
 
@@ -143,6 +143,10 @@ The NetID you want to check
143
143
  Version History
144
144
  ===============
145
145
 
146
+ ## 0.4.2
147
+
148
+ * Rename check_quota -> quota_check
149
+
146
150
  ## 0.4.0
147
151
 
148
152
  * Switch most methods from Class->Instance
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/bin/ua_check CHANGED
@@ -75,7 +75,7 @@ user.each do |netid|
75
75
 
76
76
  unless options[:concise]
77
77
  puts "\n"
78
- checkr.quota_check
78
+ checkr.check_quota
79
79
  end
80
80
  puts "\n"
81
81
  end
data/lib/netid-tools.rb CHANGED
@@ -69,7 +69,7 @@ class Netid
69
69
  end
70
70
 
71
71
 
72
- def quota_check
72
+ def check_quota
73
73
  host = 'ovid02.u.washington.edu'
74
74
  Net::SSH.start(host,system_user, {auth_methods: %w( publickey )}) do |ssh|
75
75
  result = ssh.exec!("quota #{netid}").chomp
data/netid-tools.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "netid-tools"
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nikky Southerland"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netid-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -204,7 +204,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
204
  version: '0'
205
205
  segments:
206
206
  - 0
207
- hash: 395352821778595784
207
+ hash: 1556345222836037651
208
208
  required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  none: false
210
210
  requirements: