oke 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 385d6174d32308d71350db4faf0591d2254519b4a4a57722bc8432f31ce5c45b
4
- data.tar.gz: 4f76c3588b00cc1f7d9dbe15625920e8bebc87cdaa8187eb1b687acecca863c3
3
+ metadata.gz: 690fe646976d6cc8b36251be69e081829cdf4efb2858e1c8df64229ea6318ec7
4
+ data.tar.gz: 95b3294e8ca7628758ee25c697c4b3293114bb96c22781b794eaa764af15c7fc
5
5
  SHA512:
6
- metadata.gz: be5fd4d8de15a1385dc3b7e7f5260048c5f352b841d5b7384ce9a1bc54b3dde4c735d99f912918a6be7f27410df568856fbf54b3893a56a262602d88fa7e753f
7
- data.tar.gz: a2e8425bdf7d4f2ad666eae950edf6843e11e9c1baa7bac141ebf0a68850f7e5216f773daf49fcf2a0edb16e32dd3c35985735e5d17fb35282977980a717e699
6
+ metadata.gz: 2340613cca95c930ab4ecdaf7768c2e8b4dd7167a056c7c34a2e06465223569acc70b55b02382a221e7c0d500cc2260079674493c5a95eb10251762c45bb0140
7
+ data.tar.gz: 8ef23577f4499071fc57a5ddde20e4c55103161fe6a7d91324c35dac7339812cf7a0efb72f195df718723f25f4ed6310b9b86fdaccce642e3ef350744e934d6f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oke (0.1.2)
4
+ oke (0.1.3)
5
5
  colorize (~> 0.8)
6
6
  thor (~> 0.20)
7
7
 
data/README.md CHANGED
@@ -1,7 +1,11 @@
1
- # Oke
1
+ # Oke - 桶
2
2
 
3
3
  Oke is a tool to help you put your Ruby Application into a container, and then to deploy it to a Kubernetes Cluster.
4
4
 
5
+ ![Loading Barrels](https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Stevedores_on_a_New_York_Dock_Loading_Barrels_of_Corn_Syrup_onto_a_Barge_on_the_Hudson_River%2C_ca._1912_-_NARA_-_518287.jpg/607px-Stevedores_on_a_New_York_Dock_Loading_Barrels_of_Corn_Syrup_onto_a_Barge_on_the_Hudson_River%2C_ca._1912_-_NARA_-_518287.jpg)
6
+
7
+ _Oke is currently a protoype, and does nothing of any use, I am using it to test ideas I have for the UX of this sort of tool, it may or may not ever become a real thing_
8
+
5
9
  ## Fun Fact
6
10
 
7
11
  桶 (Oke) is a Japanese word that describes a tub, barrel or container.
@@ -18,13 +22,16 @@ And then execute:
18
22
 
19
23
  $ bundle
20
24
 
21
- Or install it yourself as:
22
-
23
- $ gem install oke
25
+ To get started with oke, you can run `oke init` to setup the config files that the tool uses.
24
26
 
25
- To get started with oke, you can run init to setup the config files that the tool uses.
27
+ ```
28
+ $ bundle exec oke init
29
+ Detected Rails Application 🛤️
26
30
 
27
- $ bundle exec oke init
31
+ Preparing config files 📝
32
+ create config/oke/processes.rb
33
+ create config/oke/variables.rb
34
+ ```
28
35
 
29
36
  ## Development
30
37
 
@@ -42,6 +42,26 @@ module Oke
42
42
  # wokers 2
43
43
  # end
44
44
  HEREDOC
45
+
46
+ create "config/oke/variables.rb", <<~HEREDOC
47
+ # This file contains information about all the environment variables that the application consumes
48
+
49
+ env "RAILS_ENV" do
50
+ doc "Chooses the which config to load from config/environment"
51
+ default "production"
52
+ end
53
+
54
+ env "DATBASE_URL" do
55
+ doc "URL used to connect to the application database"
56
+ required
57
+ secret
58
+ end
59
+
60
+ env "SECRET_KEY_BASE" do
61
+ generate
62
+ secret
63
+ end
64
+ HEREDOC
45
65
  end
46
66
 
47
67
  no_commands do
@@ -1,3 +1,3 @@
1
1
  module Oke
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["edward-robinson@cookpad.com"]
11
11
 
12
12
  spec.summary = %q{Ruby in Containers}
13
- spec.description = %q{Oke is a tool to make it simple to build and deploy applications written in Ruby}
13
+ spec.description = %q{Oke is a tool to make it simple to build and deploy applications written in Ruby, it is currently a prototype so doesn't really do most of what it may claim to do}
14
14
  spec.homepage = "https://github.com/errm/oke"
15
15
  spec.license = "Apache-2.0"
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson
@@ -81,7 +81,8 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.0'
83
83
  description: Oke is a tool to make it simple to build and deploy applications written
84
- in Ruby
84
+ in Ruby, it is currently a prototype so doesn't really do most of what it may claim
85
+ to do
85
86
  email:
86
87
  - edward-robinson@cookpad.com
87
88
  executables: