kuber_kit 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff95234b5cab092203c9c2dd52adb49a2bfc8d18bb0ced534051f1851b7d7f2c
4
- data.tar.gz: c1d81ba6a787226ffe66a976cc2eb33dca52ad0f0b2893cc7235ee76405afbfa
3
+ metadata.gz: f7172b9ae75ac4a18cbc1c82517b748fe4a089916f6bf56960548357b6b978a6
4
+ data.tar.gz: 2a21fb1b7d9d2b660a78633161354badd391c39d6c95a252254f3b8af694bc69
5
5
  SHA512:
6
- metadata.gz: 5c9dbc3157f13c253dd0d5385d4a31ff65c2053ed9099db21cb9d32b6376aba812593d5ab79add432d0b3f3d028b9fd4edd685cb42c0c267001f069d7bdc89ab
7
- data.tar.gz: c93d98d9a7319c54ea4979972fc85eb6aeab06d6dc272c960851bf2e020dd10e29e7262de79632a6b82344140660eee898735fac257d84f7da06dcbe0bd3dfa3
6
+ metadata.gz: 24e689ebd9a561abc36b4ecb6d30de8662c29691143f50d05832e95dff27350b70029e98c6c137f3bd94b1d12f7feb42eda0da0f63dc5fdc3ef021a820bcb26f
7
+ data.tar.gz: 01aa2bc0d0ab6d0791146d3d08f236f246ac03a1b9ea04cca04472aea25adb769edc8c7f8c185df74d57bb355c176458e69ddc0b5af631e3bd01975be10694f1
@@ -19,15 +19,14 @@ jobs:
19
19
  runs-on: ubuntu-latest
20
20
  strategy:
21
21
  matrix:
22
- ruby-version: ['2.6', '2.7', '3.0']
22
+ ruby-version: ['2.7', '3.0', '3.1']
23
23
 
24
24
  steps:
25
25
  - uses: actions/checkout@v2
26
26
  - name: Set up Ruby
27
27
  # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28
28
  # change this to (see https://github.com/ruby/setup-ruby#versioning):
29
- # uses: ruby/setup-ruby@v1
30
- uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
29
+ uses: ruby/setup-ruby@v1
31
30
  with:
32
31
  ruby-version: ${{ matrix.ruby-version }}
33
32
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ **1.1.1**
2
+ - Change minimal ruby version to 2.7
3
+
4
+ **1.0.1**
5
+ - Change minimal ruby version to 2.6
6
+
1
7
  **1.0.0**
2
8
  - Bump stable release
3
9
 
data/README.md CHANGED
@@ -12,6 +12,15 @@ Add this line to your application's Gemfile:
12
12
  gem 'kuber_kit'
13
13
  ```
14
14
 
15
+ ## Ruby versions
16
+
17
+ Please install specific kuber_kit version, depending on Ruby version.
18
+
19
+ | Ruby Version | KuberKit Version |
20
+ | ------------ | ------------ |
21
+ | 2.6 | 1.0.1 |
22
+ | 2.7 | 1.1.1 |
23
+
15
24
  ## Usage
16
25
 
17
26
  ### Available commands
data/kuber_kit.gemspec CHANGED
@@ -23,30 +23,23 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
+ spec.required_ruby_version = ">= 2.7.0"
27
+
26
28
  if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0')
27
29
  spec.add_dependency "contracts", '0.17.0'
28
30
  else
29
31
  spec.add_dependency "contracts", '0.16.0'
30
32
  end
31
33
 
32
- if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.6.0')
33
- spec.add_dependency "dry-auto_inject", "~> 0.8.0"
34
- else
35
- spec.add_dependency "dry-auto_inject", "~> 0.7.0"
36
- end
37
-
38
- if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7.0')
39
- spec.add_dependency "dry-core", "~> 0.8.1"
40
- else
41
- spec.add_dependency "dry-core", "~> 0.7.1"
42
- end
34
+ spec.add_dependency "dry-auto_inject", "~> 0.9.0"
35
+ spec.add_dependency "dry-core", "~> 0.8.1"
36
+ spec.add_dependency "dry-configurable", "~> 0.16.1"
37
+ spec.add_dependency "dry-container", "~> 0.10.1"
43
38
 
44
39
  spec.add_dependency "thor"
45
40
  spec.add_dependency "cli-ui"
46
41
  spec.add_dependency "net-ssh"
47
42
  spec.add_dependency "tty-prompt"
48
- spec.add_dependency "dry-container", "~> 0.7.2"
49
- spec.add_dependency "dry-configurable", "~> 0.12.1"
50
43
 
51
44
  spec.add_development_dependency "bundler", "~> 2.2"
52
45
  spec.add_development_dependency "rake", "~> 10.0"
@@ -2,6 +2,6 @@ require 'erb'
2
2
 
3
3
  class KuberKit::Preprocessing::TextPreprocessor
4
4
  def compile(template, context_helper: nil)
5
- ERB.new(template, nil, '-').result(context_helper&.get_binding)
5
+ ERB.new(template, trim_mode: '-').result(context_helper&.get_binding)
6
6
  end
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module KuberKit
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kuber_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iskander Khaziev
@@ -30,58 +30,58 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.0
33
+ version: 0.9.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.8.0
40
+ version: 0.9.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dry-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.7.1
47
+ version: 0.8.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.7.1
54
+ version: 0.8.1
55
55
  - !ruby/object:Gem::Dependency
56
- name: thor
56
+ name: dry-configurable
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 0.16.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 0.16.1
69
69
  - !ruby/object:Gem::Dependency
70
- name: cli-ui
70
+ name: dry-container
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 0.10.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 0.10.1
83
83
  - !ruby/object:Gem::Dependency
84
- name: net-ssh
84
+ name: thor
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ">="
@@ -95,7 +95,7 @@ dependencies:
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: tty-prompt
98
+ name: cli-ui
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ">="
@@ -109,33 +109,33 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: dry-container
112
+ name: net-ssh
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 0.7.2
117
+ version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - "~>"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 0.7.2
124
+ version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: dry-configurable
126
+ name: tty-prompt
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: 0.12.1
131
+ version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 0.12.1
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bundler
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -206,7 +206,6 @@ files:
206
206
  - ".rspec"
207
207
  - ".ruby-gemset"
208
208
  - ".ruby-version"
209
- - ".travis.yml"
210
209
  - CHANGELOG.md
211
210
  - Gemfile
212
211
  - LICENSE.txt
@@ -391,14 +390,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
391
390
  requirements:
392
391
  - - ">="
393
392
  - !ruby/object:Gem::Version
394
- version: '0'
393
+ version: 2.7.0
395
394
  required_rubygems_version: !ruby/object:Gem::Requirement
396
395
  requirements:
397
396
  - - ">="
398
397
  - !ruby/object:Gem::Version
399
398
  version: '0'
400
399
  requirements: []
401
- rubygems_version: 3.0.3.1
400
+ rubygems_version: 3.1.4
402
401
  signing_key:
403
402
  specification_version: 4
404
403
  summary: Docker Containers Build & Deployment
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.5.8
7
- before_install: gem install bundler -v 1.17.3