satorix-rails 1.1.8 → 1.1.9
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 +4 -4
- data/.gitlab-ci.yml +4 -0
- data/lib/rails/generators/templates/install/.gitlab-ci.yml +11 -16
- data/lib/satorix/rails/version.rb +1 -1
- data/satorix-rails.gemspec +3 -3
- data/satorix/CI/deploy/rubygems.rb +4 -2
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 540f373fd884bc1e15f5332fdd9e3199585a18c7
|
|
4
|
+
data.tar.gz: c1531bb5ea3fa2a8cf9506a9fbe34c07ad2ee4ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 881552851cfabbd7162f8a6081a1ab671b76228b6c7c21abc0f3bac6d4fae84c6c0c53e5a1f51d6261736bcf29aed86935f45b739eca1fcb38460118beb4240c
|
|
7
|
+
data.tar.gz: 358ad0ca21b9bc58032d105324ba88ecf7b506d29fc39880c002e7f13c4459238ed136cdd19c84d05cacb840e0f4f9c62c4bc74320459abc48dc13a0e3001dce
|
data/.gitlab-ci.yml
CHANGED
|
@@ -22,10 +22,14 @@ rspec:
|
|
|
22
22
|
|
|
23
23
|
# This is a custom job, defined at satorix/CI/deploy/ie_gem_server.rb
|
|
24
24
|
deploy_to_rubygems:
|
|
25
|
+
before_script:
|
|
26
|
+
- sed -i -e 's/add_development_dependency/add_dependency/g' satorix-rails.gemspec # To avoid an application dependency, but still be available for CI
|
|
25
27
|
environment:
|
|
26
28
|
name: $CI_COMMIT_REF_NAME
|
|
27
29
|
url: 'http://gems.iexposure.com/gems/satorix-rails'
|
|
28
30
|
stage: deploy
|
|
29
31
|
only:
|
|
30
32
|
- master
|
|
33
|
+
except:
|
|
34
|
+
- schedules
|
|
31
35
|
<<: *satorix
|
|
@@ -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
|
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
|
30
30
|
|
|
31
31
|
spec.add_dependency 'passenger'
|
|
32
32
|
|
|
33
|
-
spec.
|
|
34
|
-
spec.
|
|
35
|
-
spec.
|
|
33
|
+
spec.add_dependency 'bundler', '~> 1.13'
|
|
34
|
+
spec.add_dependency 'rake', '~> 10.0'
|
|
35
|
+
spec.add_dependency 'rspec', '~> 3.0'
|
|
36
36
|
end
|
|
@@ -25,7 +25,9 @@ module Satorix
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
def build_gem
|
|
28
|
-
|
|
28
|
+
Dir.chdir(Satorix.app_dir) do
|
|
29
|
+
run_command 'bundle exec rake build'
|
|
30
|
+
end
|
|
29
31
|
end
|
|
30
32
|
|
|
31
33
|
|
|
@@ -35,7 +37,7 @@ module Satorix
|
|
|
35
37
|
|
|
36
38
|
|
|
37
39
|
def gem_build_directory
|
|
38
|
-
File.join Satorix.
|
|
40
|
+
File.join Satorix.app_dir, 'pkg'
|
|
39
41
|
end
|
|
40
42
|
|
|
41
43
|
|
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.1.
|
|
4
|
+
version: 1.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Internet Exposure
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: passenger
|
|
@@ -31,7 +31,7 @@ dependencies:
|
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '1.13'
|
|
34
|
-
type: :
|
|
34
|
+
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
@@ -45,7 +45,7 @@ dependencies:
|
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '10.0'
|
|
48
|
-
type: :
|
|
48
|
+
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
@@ -59,7 +59,7 @@ dependencies:
|
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '3.0'
|
|
62
|
-
type: :
|
|
62
|
+
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
121
121
|
version: '0'
|
|
122
122
|
requirements: []
|
|
123
123
|
rubyforge_project:
|
|
124
|
-
rubygems_version: 2.6.
|
|
124
|
+
rubygems_version: 2.6.14.4
|
|
125
125
|
signing_key:
|
|
126
126
|
specification_version: 4
|
|
127
127
|
summary: Satorix in Rails
|