satorix-rails 1.1.8 → 1.3.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 +5 -5
- data/.gitignore +0 -1
- data/.gitlab-ci.yml +5 -6
- data/.ruby-version +1 -1
- data/Gemfile.lock +26 -0
- data/Rakefile +7 -3
- data/lib/rails/generators/templates/custom_ci_job/satorix/CI/deploy/mock_deploy.rb +8 -11
- data/lib/rails/generators/templates/custom_ci_job/satorix/CI/test/bare_bones.rb +0 -5
- data/lib/rails/generators/templates/custom_ci_job/satorix/CI/test/info.rb +44 -43
- data/lib/rails/generators/templates/install/.gitlab-ci.yml +11 -16
- data/lib/satorix/rails/version.rb +1 -1
- data/satorix-rails.gemspec +1 -4
- data/satorix/CI/deploy/rubygems.rb +70 -73
- metadata +5 -47
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 435a13aeb52a37926e1c05131e9ade2acef2a753076fd973cdcec8fc42a1dbbc
|
4
|
+
data.tar.gz: 5809274213b07e1bcdc4f573efabd0f2f0c3d67105f6f25e5eff09f6e80c077b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc01af9987e38d189dee15d4b4d5ee89c9ef0a443beed6f23d6b2a869b381273563355dd378754615ad784f30c3574cb7e8c4b04dcd7739a3918388fb77577fd
|
7
|
+
data.tar.gz: 46fa05b77b27a9e5c8892aa23c8d87f052adcac05004886966d769c05c35a6152280e0b766056318c11a89ce23cdd98fd411c9e19592d5b9b3dd60d83322b804
|
data/.gitignore
CHANGED
data/.gitlab-ci.yml
CHANGED
@@ -3,7 +3,6 @@ image: 'satorix/rails'
|
|
3
3
|
|
4
4
|
.satorix: &satorix
|
5
5
|
script:
|
6
|
-
- bundle # This generates a Gemfile.lock, to make the buildpacks happy
|
7
6
|
- gem install satorix --source https://gems.iexposure.com --no-document
|
8
7
|
- satorix
|
9
8
|
|
@@ -15,17 +14,17 @@ cache:
|
|
15
14
|
|
16
15
|
|
17
16
|
rspec:
|
18
|
-
before_script:
|
19
|
-
- sed -i -e 's/add_development_dependency/add_dependency/g' satorix-rails.gemspec # To avoid an application dependency, but still be available for CI
|
20
17
|
<<: *satorix
|
21
18
|
|
22
19
|
|
23
|
-
# This is a custom job, defined at satorix/CI/deploy/
|
20
|
+
# This is a custom job, defined at satorix/CI/deploy/rubygems.rb
|
24
21
|
deploy_to_rubygems:
|
25
22
|
environment:
|
26
23
|
name: $CI_COMMIT_REF_NAME
|
27
|
-
url: '
|
24
|
+
url: 'https://rubygems.org/gems/satorix-rails'
|
28
25
|
stage: deploy
|
29
26
|
only:
|
30
|
-
-
|
27
|
+
- tags
|
28
|
+
except:
|
29
|
+
- schedules
|
31
30
|
<<: *satorix
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.6.6
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
satorix-rails (1.3.0)
|
5
|
+
passenger
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
passenger (6.0.4)
|
11
|
+
rack
|
12
|
+
rake (>= 0.8.1)
|
13
|
+
rack (2.2.2)
|
14
|
+
rake (13.0.1)
|
15
|
+
|
16
|
+
PLATFORMS
|
17
|
+
ruby
|
18
|
+
|
19
|
+
DEPENDENCIES
|
20
|
+
satorix-rails!
|
21
|
+
|
22
|
+
RUBY VERSION
|
23
|
+
ruby 2.6.6p146
|
24
|
+
|
25
|
+
BUNDLED WITH
|
26
|
+
1.17.3
|
data/Rakefile
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
|
-
|
2
|
+
begin
|
3
|
+
require 'rspec/core/rake_task'
|
3
4
|
|
4
|
-
RSpec::Core::RakeTask.new(:spec)
|
5
|
+
RSpec::Core::RakeTask.new(:spec)
|
5
6
|
|
6
|
-
task :default => :spec
|
7
|
+
task :default => :spec
|
8
|
+
rescue LoadError
|
9
|
+
# no rspec available
|
10
|
+
end
|
@@ -3,10 +3,8 @@ module Satorix
|
|
3
3
|
module Deploy
|
4
4
|
module MockDeploy
|
5
5
|
|
6
|
-
|
7
6
|
include Satorix::Shared::Console
|
8
7
|
|
9
|
-
|
10
8
|
extend self
|
11
9
|
|
12
10
|
|
@@ -17,19 +15,18 @@ module Satorix
|
|
17
15
|
end
|
18
16
|
|
19
17
|
|
20
|
-
private
|
18
|
+
private
|
21
19
|
|
22
20
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
21
|
+
def turbines_to_speed
|
22
|
+
batnap
|
23
|
+
puts 'Roger. Ready to move out.'
|
24
|
+
end
|
27
25
|
|
28
26
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
def batnap
|
28
|
+
sleep(rand(6))
|
29
|
+
end
|
33
30
|
|
34
31
|
end
|
35
32
|
end
|
@@ -5,21 +5,16 @@ module Satorix
|
|
5
5
|
# This is the simplest possible implementation of a custom job.
|
6
6
|
module BareBones
|
7
7
|
|
8
|
-
|
9
8
|
extend self
|
10
9
|
|
11
10
|
# go() is the method that will be called during the CI run.
|
12
11
|
# You can add your own logic to do whatever you want.
|
13
12
|
def go
|
14
|
-
# Uncomment the line below if you want to execute in the context of the app's buildpack.
|
15
|
-
# Satorix::CI::Test::Shared::BuildpackManager.go
|
16
13
|
puts "\n\nRunning BareBones#go..."
|
17
14
|
end
|
18
15
|
|
19
|
-
|
20
16
|
end
|
21
17
|
|
22
|
-
|
23
18
|
end
|
24
19
|
end
|
25
20
|
end
|
@@ -3,17 +3,13 @@ module Satorix
|
|
3
3
|
module Test
|
4
4
|
module Info
|
5
5
|
|
6
|
-
|
7
6
|
include Satorix::Shared::Console
|
8
7
|
|
9
|
-
|
10
8
|
extend self
|
11
9
|
|
12
10
|
# go() is the method that will be called during the CI run.
|
13
11
|
# You can add your own logic to do whatever you want.
|
14
12
|
def go
|
15
|
-
# Uncomment the line below if you want to execute in the context of the app's buildpack.
|
16
|
-
# Satorix::CI::Test::Shared::BuildpackManager.go
|
17
13
|
|
18
14
|
log_bench('Describing logging...') do
|
19
15
|
describe_log
|
@@ -22,7 +18,7 @@ module Satorix
|
|
22
18
|
end
|
23
19
|
|
24
20
|
log_bench('Describing console commands...') do
|
25
|
-
|
21
|
+
describe_unsafe_run_command_string
|
26
22
|
describe_run_command_array
|
27
23
|
describe_run_command_filtered
|
28
24
|
describe_run_command_quiet
|
@@ -33,62 +29,67 @@ module Satorix
|
|
33
29
|
end
|
34
30
|
|
35
31
|
|
36
|
-
private
|
32
|
+
private
|
37
33
|
|
38
34
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
35
|
+
def describe_environment_variables
|
36
|
+
puts "Remember, #{ ENV['GITLAB_USER_EMAIL'] }, that you have access to all of the environment variables ",
|
37
|
+
' described at https://docs.gitlab.com/ce/ci/variables/#predefined-variables-environment-variables'
|
38
|
+
end
|
43
39
|
|
44
40
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
41
|
+
def describe_log
|
42
|
+
log 'The log() method writes a message to the log'
|
43
|
+
colors.keys.each { |color| log "You can provide an optional color, like :#{ color }", color }
|
44
|
+
end
|
49
45
|
|
50
46
|
|
51
|
-
|
52
|
-
|
53
|
-
|
47
|
+
def describe_log_error
|
48
|
+
log_error 'The log_error() method writes an error to the log'
|
49
|
+
end
|
54
50
|
|
55
51
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
52
|
+
def describe_log_error_and_abort
|
53
|
+
log_error 'The log_error_and_abort() method writes an error to the log and aborts the job'
|
54
|
+
rescue SystemExit => e
|
55
|
+
puts 'Rescuing from the error, to continue the tutorial.',
|
56
|
+
e.inspect
|
57
|
+
end
|
62
58
|
|
63
59
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
60
|
+
def describe_unsafe_run_command_string
|
61
|
+
# It is possible to use a string command that is assumed to be already escaped and will not be escaped further.
|
62
|
+
# See below for safer alternate options.
|
63
|
+
# Please see the run_command documentation in the satorix gem for more information and examples.
|
64
|
+
run_command "echo 'We can run string console commands that have already been properly escaped with the run_command() method and the `string_verified_safe: true` option. This is best avoided!'",
|
65
|
+
string_verified_safe: true
|
66
|
+
end
|
68
67
|
|
69
|
-
def describe_run_command_array
|
70
|
-
run_command ['echo', "'We can safely run array console commands with the run_command() method'"]
|
71
|
-
end
|
72
68
|
|
69
|
+
def describe_run_command_array
|
70
|
+
# It is preferred to use an array command, especially for anything containing dynamic input. Escaping will be taken care of for you.
|
71
|
+
# Please see the run_command documentation in the satorix gem for more information and examples.
|
72
|
+
run_command ['echo', 'We can safely run unescaped array console commands with the run_command() method. This is ideal!']
|
73
|
+
end
|
73
74
|
|
74
|
-
def describe_run_command_quiet
|
75
|
-
run_command "echo 'This will not be displayed'", quiet: true
|
76
|
-
end
|
77
75
|
|
76
|
+
def describe_run_command_quiet
|
77
|
+
run_command ['echo', 'This will not be displayed (but will return the output).'], quiet: true
|
78
|
+
end
|
78
79
|
|
79
|
-
def describe_run_command_filtered
|
80
|
-
run_command "echo 'You can filter secrets, like 1234 and 5678 (unless you explicitly display them)'", filtered_text: %w(1234 5678)
|
81
|
-
end
|
82
80
|
|
81
|
+
def describe_run_command_filtered
|
82
|
+
run_command ['echo', 'You can filter sensitive text from the logs, like 1234 and 5678 (the original output will be returned).'], filtered_text: %w(1234 5678)
|
83
|
+
end
|
83
84
|
|
84
|
-
def describe_run_command_with_error
|
85
|
-
run_command 'false'
|
86
|
-
rescue SystemExit
|
87
|
-
puts 'Commands that exit with a non-zero return code abort operation, unless rescued.',
|
88
|
-
'Rescuing from the error, to continue the tutorial.',
|
89
|
-
e.inspect
|
90
|
-
end
|
91
85
|
|
86
|
+
def describe_run_command_with_error
|
87
|
+
run_command %w[false]
|
88
|
+
rescue SystemExit
|
89
|
+
puts 'Commands that exit with a non-zero return code abort operation, unless rescued.',
|
90
|
+
'Rescuing from the error, to continue the tutorial.',
|
91
|
+
e.inspect
|
92
|
+
end
|
92
93
|
|
93
94
|
end
|
94
95
|
end
|
@@ -1,4 +1,5 @@
|
|
1
|
-
# We are using the Satorix Rails CI image from https://hub.docker.com/r/satorix/rails/
|
1
|
+
# We are using the base Satorix Rails CI image from https://hub.docker.com/r/satorix/rails/
|
2
|
+
# Additional versions with expanded features can be found at https://hub.docker.com/u/satorix
|
2
3
|
image: 'satorix/rails'
|
3
4
|
|
4
5
|
|
@@ -9,12 +10,6 @@ cache:
|
|
9
10
|
- 'tmp/satorix/cache' # To cache buildpack gems between runs.
|
10
11
|
|
11
12
|
|
12
|
-
.satorix: &satorix
|
13
|
-
script:
|
14
|
-
- gem install satorix --source https://gems.iexposure.com --no-document
|
15
|
-
- satorix
|
16
|
-
|
17
|
-
|
18
13
|
###############################################################################
|
19
14
|
#
|
20
15
|
# Below are resources that will be available as part of the CI pipeline.
|
@@ -61,6 +56,13 @@ cache:
|
|
61
56
|
# MYSQL_ROOT_PASSWORD: password # The default user is: root
|
62
57
|
|
63
58
|
|
59
|
+
.satorix: &satorix
|
60
|
+
<<: *use_postgres
|
61
|
+
script:
|
62
|
+
- gem install satorix --source https://gems.iexposure.com --no-document
|
63
|
+
- satorix
|
64
|
+
|
65
|
+
|
64
66
|
###############################################################################
|
65
67
|
#
|
66
68
|
# Below are jobs that will run as part of the CI pipeline.
|
@@ -74,8 +76,6 @@ cache:
|
|
74
76
|
## Static analysis security scanner for Ruby on Rails
|
75
77
|
## http://brakemanscanner.org/
|
76
78
|
#brakeman:
|
77
|
-
# variables:
|
78
|
-
# SKIP_BUILDPACK: 'true'
|
79
79
|
# <<: *satorix
|
80
80
|
|
81
81
|
|
@@ -83,8 +83,6 @@ cache:
|
|
83
83
|
## Patch-level verification for Bundler
|
84
84
|
## https://github.com/rubysec/bundler-audit
|
85
85
|
#bundler_audit:
|
86
|
-
# variables:
|
87
|
-
# SKIP_BUILDPACK: 'true'
|
88
86
|
# <<: *satorix
|
89
87
|
|
90
88
|
|
@@ -92,7 +90,6 @@ cache:
|
|
92
90
|
## Executes executable specifications written in plain language
|
93
91
|
## https://github.com/cucumber/cucumber
|
94
92
|
#cucumber:
|
95
|
-
# <<: *use_postgres
|
96
93
|
# <<: *satorix
|
97
94
|
|
98
95
|
|
@@ -100,7 +97,6 @@ cache:
|
|
100
97
|
## Built-in mechanisms in Rails for testing your application
|
101
98
|
## http://guides.rubyonrails.org/testing.html
|
102
99
|
#rails_test:
|
103
|
-
# <<: *use_postgres
|
104
100
|
# <<: *satorix
|
105
101
|
|
106
102
|
|
@@ -108,7 +104,6 @@ cache:
|
|
108
104
|
## Behaviour Driven Development for Ruby
|
109
105
|
## http://rspec.info/
|
110
106
|
#rspec:
|
111
|
-
# <<: *use_postgres
|
112
107
|
# <<: *satorix
|
113
108
|
|
114
109
|
|
@@ -116,8 +111,6 @@ cache:
|
|
116
111
|
## A Ruby static code analyzer, based on the community Ruby style guide.
|
117
112
|
## https://github.com/bbatsov/rubocop
|
118
113
|
#rubocop:
|
119
|
-
# variables:
|
120
|
-
# SKIP_BUILDPACK: 'true'
|
121
114
|
# <<: *satorix
|
122
115
|
|
123
116
|
|
@@ -129,4 +122,6 @@ deploy_with_flynn:
|
|
129
122
|
only:
|
130
123
|
- staging
|
131
124
|
- production
|
125
|
+
except:
|
126
|
+
- schedules
|
132
127
|
<<: *satorix
|
data/satorix-rails.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'satorix/rails/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'satorix-rails'
|
8
8
|
spec.version = Satorix::Rails::Version::VERSION
|
9
|
-
spec.authors = ['
|
9
|
+
spec.authors = ['Satorix']
|
10
10
|
spec.email = ['info@satorix.com']
|
11
11
|
|
12
12
|
spec.summary = 'Satorix in Rails'
|
@@ -30,7 +30,4 @@ Gem::Specification.new do |spec|
|
|
30
30
|
|
31
31
|
spec.add_dependency 'passenger'
|
32
32
|
|
33
|
-
spec.add_development_dependency 'bundler', '~> 1.13'
|
34
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
35
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
36
33
|
end
|
@@ -3,13 +3,10 @@ module Satorix
|
|
3
3
|
module Deploy
|
4
4
|
module Rubygems
|
5
5
|
|
6
|
-
|
7
6
|
require 'fileutils'
|
8
7
|
|
9
|
-
|
10
8
|
include Satorix::Shared::Console
|
11
9
|
|
12
|
-
|
13
10
|
extend self
|
14
11
|
|
15
12
|
|
@@ -21,111 +18,111 @@ module Satorix
|
|
21
18
|
end
|
22
19
|
|
23
20
|
|
24
|
-
private
|
21
|
+
private
|
25
22
|
|
26
23
|
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
def build_gem
|
25
|
+
Dir.chdir(Satorix.app_dir) do
|
26
|
+
run_command(%w[bundle exec rake build])
|
27
|
+
end
|
28
|
+
end
|
30
29
|
|
31
30
|
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
def built_gems
|
32
|
+
Dir.glob(File.join(gem_build_directory, '*.gem')).select { |e| File.file? e }
|
33
|
+
end
|
35
34
|
|
36
35
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
36
|
+
def gem_build_directory
|
37
|
+
File.join Satorix.app_dir, 'pkg'
|
38
|
+
end
|
41
39
|
|
42
|
-
def generate_rubygems_configuration_file
|
43
|
-
path = File.join(Dir.home, '.gem')
|
44
|
-
FileUtils.mkdir_p(path) unless File.exist?(path)
|
45
|
-
|
46
|
-
file = File.join(path, 'credentials')
|
47
|
-
File.open(file, 'w') { |f| f.write rubygems_configuration_file_contents }
|
48
|
-
FileUtils.chmod 0600, file
|
49
|
-
end
|
50
40
|
|
41
|
+
def generate_rubygems_configuration_file
|
42
|
+
path = File.join(Dir.home, '.gem')
|
43
|
+
FileUtils.mkdir_p(path) unless File.exist?(path)
|
51
44
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
45
|
+
file = File.join(path, 'credentials')
|
46
|
+
File.open(file, 'w') { |f| f.write rubygems_configuration_file_contents }
|
47
|
+
FileUtils.chmod 0600, file
|
48
|
+
end
|
56
49
|
|
57
50
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
abort "\nGem was not published!"
|
63
|
-
end
|
51
|
+
def prepare_gem_build_directory
|
52
|
+
run_command(['rm', '-rf', gem_build_directory])
|
53
|
+
FileUtils.mkdir_p gem_build_directory
|
54
|
+
end
|
64
55
|
|
65
56
|
|
66
|
-
|
67
|
-
|
68
|
-
|
57
|
+
def publish_gem(gem)
|
58
|
+
run_command ['gem', 'push', gem, '--config-file', File.join(Dir.home, '.gem', 'credentials')]
|
59
|
+
rescue RuntimeError
|
60
|
+
# To prevent the display of an ugly stacktrace.
|
61
|
+
abort "\nGem was not published!"
|
62
|
+
end
|
69
63
|
|
70
64
|
|
71
|
-
|
72
|
-
|
73
|
-
|
65
|
+
def rubygems_api_key
|
66
|
+
ENV['SATORIX_CI_RUBYGEMS_API_KEY']
|
67
|
+
end
|
74
68
|
|
75
69
|
|
76
|
-
|
70
|
+
def rubygems_configuration_file_contents
|
71
|
+
"---\n:rubygems_api_key: #{ rubygems_api_key }"
|
72
|
+
end
|
77
73
|
|
78
74
|
|
79
|
-
|
80
|
-
run_command 'git config user.name Satorix'
|
81
|
-
run_command 'git config user.email satorix@iexposure.com'
|
82
|
-
run_command 'git config push.default simple'
|
83
|
-
end
|
75
|
+
# To be used for rake release - START
|
84
76
|
|
77
|
+
def configure_git
|
78
|
+
run_command(%w[git config user.name Satorix])
|
79
|
+
run_command(%w[git config user.email satorix@iexposure.com])
|
80
|
+
run_command(%w[git config push.default simple])
|
81
|
+
end
|
85
82
|
|
86
|
-
def configure_ssh
|
87
|
-
run_command 'whoami'
|
88
|
-
run_command 'printenv'
|
89
83
|
|
90
|
-
|
91
|
-
|
84
|
+
def configure_ssh
|
85
|
+
run_command(%w[whoami])
|
86
|
+
run_command(%w[printenv])
|
92
87
|
|
93
|
-
|
94
|
-
|
95
|
-
FileUtils.chmod 0600, public_key_file
|
96
|
-
run_command "cat #{ public_key_file }"
|
88
|
+
path = File.join(Dir.home, '.ssh')
|
89
|
+
FileUtils.mkdir_p(path) unless File.exist?(path)
|
97
90
|
|
98
|
-
|
99
|
-
|
100
|
-
|
91
|
+
public_key_file = File.join(path, 'id_rsa.pub')
|
92
|
+
File.open(public_key_file, 'w') { |f| f.write ssh_public_key }
|
93
|
+
FileUtils.chmod 0600, public_key_file
|
94
|
+
run_command(['cat', public_key_file])
|
101
95
|
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
run_command "cat #{ config_file }"
|
96
|
+
private_key_file = File.join(path, 'id_rsa')
|
97
|
+
File.open(private_key_file, 'w') { |f| f.write ssh_private_key }
|
98
|
+
FileUtils.chmod 0600, private_key_file
|
106
99
|
|
107
|
-
|
108
|
-
|
109
|
-
|
100
|
+
config_file = File.join(path, 'config')
|
101
|
+
File.open(config_file, 'w') { |f| f.write "IdentityFile #{ private_key_file }" }
|
102
|
+
FileUtils.chmod 0600, config_file
|
103
|
+
run_command(['cat', config_file])
|
110
104
|
|
105
|
+
system 'eval `ssh-agent -s`'
|
106
|
+
run_command(['ssh-add', private_key_file])
|
107
|
+
end
|
111
108
|
|
112
|
-
def rake_release
|
113
|
-
run_command 'bundle exec rake release'
|
114
|
-
end
|
115
109
|
|
110
|
+
def rake_release
|
111
|
+
run_command(%w[bundle exec rake release])
|
112
|
+
end
|
116
113
|
|
117
|
-
def ssh_private_key
|
118
|
-
ENV['SATORIX_CI_SSH_PRIVATE_KEY']
|
119
|
-
end
|
120
114
|
|
115
|
+
def ssh_private_key
|
116
|
+
ENV['SATORIX_CI_SSH_PRIVATE_KEY']
|
117
|
+
end
|
121
118
|
|
122
|
-
def ssh_public_key
|
123
|
-
ENV['SATORIX_CI_SSH_PUBLIC_KEY']
|
124
|
-
end
|
125
119
|
|
120
|
+
def ssh_public_key
|
121
|
+
ENV['SATORIX_CI_SSH_PUBLIC_KEY']
|
122
|
+
end
|
126
123
|
|
127
|
-
# To be used for rake release - END
|
128
124
|
|
125
|
+
# To be used for rake release - END
|
129
126
|
|
130
127
|
end
|
131
128
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: satorix-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Satorix
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: passenger
|
@@ -24,48 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1.13'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '1.13'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '10.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '10.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rspec
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.0'
|
69
27
|
description: The satorix-rails gem provides a streamlined mechanism for a Rails application
|
70
28
|
to interact with the Satorix ecosystem.
|
71
29
|
email:
|
@@ -79,6 +37,7 @@ files:
|
|
79
37
|
- ".rspec"
|
80
38
|
- ".ruby-version"
|
81
39
|
- Gemfile
|
40
|
+
- Gemfile.lock
|
82
41
|
- Procfile
|
83
42
|
- README.md
|
84
43
|
- Rakefile
|
@@ -120,8 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
79
|
- !ruby/object:Gem::Version
|
121
80
|
version: '0'
|
122
81
|
requirements: []
|
123
|
-
|
124
|
-
rubygems_version: 2.6.12
|
82
|
+
rubygems_version: 3.0.3
|
125
83
|
signing_key:
|
126
84
|
specification_version: 4
|
127
85
|
summary: Satorix in Rails
|