ssh-manager 0.0.9 → 1.0.0

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: a6902e64d708bfa6f45c209b5a885e0e07aaff9a
4
- data.tar.gz: 9bf241a439fdb0da8c5d1060153e5c79af85d801
3
+ metadata.gz: 9956cca04770f069803782321b4abbb01812d592
4
+ data.tar.gz: dcaba9ecf7dbe4b855d1904a918331afaa9e16ab
5
5
  SHA512:
6
- metadata.gz: 6a3ee0a5bdef1d0d1ce564aec22b0e48436c526db2c2f145e0d29cf8746a54ff3f3cefa6ec4e5679cd2e8f0d9fde340aac047032785994ac9b316d894df27bf8
7
- data.tar.gz: fb668462fda43158b1b2c30c63743385c64e40d7abe48ac4bb8efff1c5d30345dfe976f3f99c280b086b9327ca2ea1c0d3293258fab533c9b0715bef9ca6d411
6
+ metadata.gz: 0b54ac5bd84f5b2d6ad784b31d3f109e23d9e74c470b889814cf2fdfcd155ac3937d45cf7a16b950afa3fb3e539c7788e814555494550e09b2ad6be67c847a86
7
+ data.tar.gz: c2f12318bedf54398bae2615b0d24218a8286dcb0925ef673c6db0aaa8cceaa21b069336871e43d1e8c31b078190d31933f71931310ca6377fa776b487ad8adf
@@ -2,7 +2,6 @@ require_relative 'db'
2
2
  require 'yaml'
3
3
  FileUtils.cp ("#{File.dirname(__FILE__)}/../../../config/settings.yml"), ("#{File.join(Dir.home)}" + '/.config/sshm/') unless File.exists?(("#{File.join(Dir.home)}" + '/.config/sshm/settings.yml'))
4
4
  CONFIG = YAML.load_file("#{File.join(ENV['HOME'])}/.config/sshm/settings.yml")
5
- require 'debugger'
6
5
  require_relative 'version'
7
6
 
8
7
  module SSH
@@ -1,5 +1,5 @@
1
1
  module SSH
2
2
  module Manager
3
- VERSION = "0.0.9"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
data/rubygem-sshm.spec ADDED
@@ -0,0 +1,64 @@
1
+ #
2
+ # spec file for package rubygem-ssh-manager (Version 0.0.8)
3
+ #
4
+ # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
5
+ #
6
+ # All modifications and additions to the file contributed by third parties
7
+ # remain the property of their copyright owners, unless otherwise agreed
8
+ # upon. The license for this file, and modifications and additions to the
9
+ # file, is the same license as for the pristine package itself (unless the
10
+ # license for the pristine package is not an Open Source License, in which
11
+ # case the license is the MIT License). An "Open Source License" is a
12
+ # license that conforms to the Open Source Definition (Version 1.9)
13
+ # published by the Open Source Initiative.
14
+
15
+ # Please submit bugfixes or comments via http://bugs.opensuse.org/
16
+ #
17
+
18
+ # norootforbuild
19
+ Name: rubygem-ssh-manager
20
+ Version: 0.0.8
21
+ Release: 0
22
+ %define mod_name ssh-manager
23
+ #
24
+ Group: Development/Languages/Ruby
25
+ License: GPLv2+ or Ruby
26
+ #
27
+ BuildRoot: %{_tmppath}/%{name}-%{version}-build
28
+ BuildRequires: rubygems_with_buildroot_patch
29
+ Requires: rubygems >= 2.0.0
30
+ BuildRequires: ruby2.0-rubygem-sequel
31
+ Requires: ruby2.0-rubygem-sequel
32
+ BuildRequires: rubygem-sqlite3
33
+ Requires: rubygem-sqlite3
34
+ BuildRequires: rubygem-rake
35
+ Requires: rubygem-rake
36
+ #
37
+ Url: https://rubygems.org/profiles/jschmid
38
+ Source: %{mod_name}-%{version}.gem
39
+ #
40
+ Summary: manage and connect ssh
41
+ %description
42
+ Manage ssh connections.
43
+
44
+
45
+ %prep
46
+ %build
47
+ %install
48
+ %gem_install %{S:0}
49
+
50
+
51
+ %clean
52
+ %{__rm} -rf %{buildroot}
53
+
54
+ %files
55
+ %defattr(-,root,root,-)
56
+
57
+ %{_bindir}/sshm
58
+
59
+ %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
60
+ %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
61
+ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
62
+ %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
63
+
64
+ %changelog
@@ -0,0 +1,72 @@
1
+ #
2
+ # spec file for package rubygem-<%= spec.name %> (Version <%= spec.version %>)
3
+ #
4
+ # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
5
+ #
6
+ # All modifications and additions to the file contributed by third parties
7
+ # remain the property of their copyright owners, unless otherwise agreed
8
+ # upon. The license for this file, and modifications and additions to the
9
+ # file, is the same license as for the pristine package itself (unless the
10
+ # license for the pristine package is not an Open Source License, in which
11
+ # case the license is the MIT License). An "Open Source License" is a
12
+ # license that conforms to the Open Source Definition (Version 1.9)
13
+ # published by the Open Source Initiative.
14
+
15
+ # Please submit bugfixes or comments via http://bugs.opensuse.org/
16
+ #
17
+
18
+ # norootforbuild
19
+ Name: rubygem-<%= spec.name %>
20
+ Version: <%= spec.version %>
21
+ Release: 0
22
+ %define mod_name <%= spec.name %>
23
+ #
24
+ Group: Development/Languages/Ruby
25
+ License: GPLv2+ or Ruby
26
+ #
27
+ BuildRoot: %{_tmppath}/%{name}-%{version}-build
28
+ BuildRequires: rubygems_with_buildroot_patch
29
+ Requires: rubygems >= <%= Gem::RubyGemsVersion %>
30
+ <%
31
+ # no need to add a requires ruby >= 0 here. will be pulled in via rubygems already
32
+ unless spec.required_ruby_version == ['']
33
+ -%>
34
+ Requires: ruby <%= spec.required_ruby_version %>
35
+ BuildRequires: ruby-devel <%= spec.required_ruby_version %>
36
+ <% end -%>
37
+ <% for d in spec.dependencies -%>
38
+ <% for req in d.requirement -%>
39
+ BuildRequires: rubygem-<%= d.name %> <%= req %>
40
+ Requires: rubygem-<%= d.name %> <%= req %>
41
+ <% end -%>
42
+ <% end -%>
43
+ #
44
+ Url: <%= spec.homepage %>
45
+ Source: %{mod_name}-%{version}.gem
46
+ #
47
+ Summary: <%= spec.summary.gsub(/\.$/, "") %>
48
+ %description
49
+ <%= spec.description %>
50
+
51
+ %prep
52
+ %build
53
+ %install
54
+ %gem_install %{S:0}
55
+ <% unless spec.extensions.empty? %>
56
+ %gem_cleanup
57
+ <% end %>
58
+
59
+ %clean
60
+ %{__rm} -rf %{buildroot}
61
+
62
+ %files
63
+ %defattr(-,root,root,-)
64
+ <% spec.executables.each do |executable| %>
65
+ %{_bindir}/<%= executable %>
66
+ <% end %>
67
+ %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
68
+ %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
69
+ %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
70
+ %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
71
+
72
+ %changelog
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssh-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Schmid
@@ -95,6 +95,8 @@ files:
95
95
  - lib/ssh/manager/client.rb
96
96
  - lib/ssh/manager/db.rb
97
97
  - lib/ssh/manager/version.rb
98
+ - rubygem-sshm.spec
99
+ - rubygem-sshm.spec.template
98
100
  - spec/client_spec.rb
99
101
  - spec/spec_helper.rb
100
102
  - ssh-manager.gemspec