smartos 0.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: df428a637168d9817c8c2aafdb7fa0ece3e534bb1d3c63e1cc7fcfbdc5f1abe1
4
+ data.tar.gz: 65f4e04f98506cd236d55930043c682e57d9751a60e325619bbddcfd6a8c58f6
5
+ SHA512:
6
+ metadata.gz: e970153881110d7dd4c6ff43ab082570630f1a1acddc72c628fcf2cd571628698c2e8d26c846403f617050371fbd6c6849773558ec54e3370cb5add89ff6958c
7
+ data.tar.gz: d688aed7dafa0fbd7959ff9d0ca1a74b475eccebb9e7f4b854b44268e2e3cdec5120630e9033a00eb4f6a0660332e18703ec64bb3c96e69433220d02f5ff3788
File without changes
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Timeboard
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,9 @@
1
+ = Welcome to SmartOS
2
+
3
+ == What's SmartOS?
4
+
5
+ Wait for it :)
6
+
7
+ == License
8
+
9
+ SmartOS is released under the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "smart_os"
4
+
5
+ command = ARGV.shift
@@ -0,0 +1,15 @@
1
+ require "ostruct"
2
+ require "yaml"
3
+
4
+ # The main SmartOS driver
5
+ module SmartOS
6
+ def self.config
7
+ @@config ||= OpenStruct.new
8
+ end
9
+
10
+ def self.credentials
11
+ @@credentials ||= OpenStruct.new(SmartOS::Credentials.new.config)
12
+ end
13
+ end
14
+
15
+ require 'smart_os/version'
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SmartOS
4
+ # Returns the version of the currently loaded SmartOS as a <tt>Gem::Version</tt>.
5
+ def self.gem_version
6
+ Gem::Version.new VERSION::STRING
7
+ end
8
+
9
+ module VERSION
10
+ MAJOR = 0
11
+ MINOR = 0
12
+ TINY = 0
13
+ PRE = nil
14
+
15
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
+ end
17
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "gem_version"
4
+
5
+ module SmartOS
6
+ # Returns the version of the currently loaded SmartOS as a <tt>Gem::Version</tt>
7
+ def self.version
8
+ gem_version
9
+ end
10
+ end
metadata ADDED
@@ -0,0 +1,56 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: smartos
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Timeboard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-06-10 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: SmartOS description.
14
+ email: hello@timeboard.me
15
+ executables:
16
+ - smartos
17
+ extensions: []
18
+ extra_rdoc_files:
19
+ - README.rdoc
20
+ files:
21
+ - CHANGELOG.rdoc
22
+ - MIT-LICENSE
23
+ - README.rdoc
24
+ - bin/smartos
25
+ - lib/smart_os.rb
26
+ - lib/smart_os/gem_version.rb
27
+ - lib/smart_os/version.rb
28
+ homepage: https://github.com/timeboarders/smartbytes
29
+ licenses:
30
+ - MIT
31
+ metadata:
32
+ bug_tracker_uri: https://github.com/timeboarders/smartbytes/issues
33
+ changelog_uri: https://github.com/timeboarders/smartbytes/blob/v0.0.0/smartos/CHANGELOG.rdoc
34
+ source_code_uri: https://github.com/timeboarders/smartbytes/tree/v0.0.0/smartos
35
+ post_install_message:
36
+ rdoc_options:
37
+ - "--main"
38
+ - README.rdoc
39
+ require_paths:
40
+ - lib
41
+ required_ruby_version: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 2.5.0
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ requirements: []
52
+ rubygems_version: 3.1.2
53
+ signing_key:
54
+ specification_version: 4
55
+ summary: SmartOS Summary.
56
+ test_files: []