shipit-engine 0.44.2 → 0.45.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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/shipit.css.erb +2081 -0
  3. data/app/jobs/shipit/github_sync_job.rb +3 -0
  4. data/app/views/layouts/merge_status.html.erb +0 -1
  5. data/lib/shipit/engine.rb +0 -1
  6. data/lib/shipit/version.rb +1 -1
  7. data/lib/shipit.rb +0 -1
  8. data/test/dummy/config/application.rb +1 -1
  9. data/test/dummy/db/schema.rb +149 -150
  10. data/test/jobs/github_sync_job_test.rb +8 -0
  11. metadata +7 -40
  12. data/app/assets/stylesheets/_base/_banner.scss +0 -74
  13. data/app/assets/stylesheets/_base/_base.scss +0 -249
  14. data/app/assets/stylesheets/_base/_buttons.scss +0 -62
  15. data/app/assets/stylesheets/_base/_colors.scss +0 -19
  16. data/app/assets/stylesheets/_base/_forms.scss +0 -48
  17. data/app/assets/stylesheets/_base/_icons.scss +0 -26
  18. data/app/assets/stylesheets/_base/_media-queries.scss +0 -17
  19. data/app/assets/stylesheets/_base/_spacing.scss +0 -21
  20. data/app/assets/stylesheets/_base/_status-items.scss +0 -166
  21. data/app/assets/stylesheets/_base/_utility.scss +0 -15
  22. data/app/assets/stylesheets/_pages/_commits.scss +0 -354
  23. data/app/assets/stylesheets/_pages/_deploy.scss +0 -282
  24. data/app/assets/stylesheets/_pages/_repositories.scss +0 -148
  25. data/app/assets/stylesheets/_pages/_settings.scss +0 -24
  26. data/app/assets/stylesheets/_pages/_stacks.scss +0 -255
  27. data/app/assets/stylesheets/_structure/_layout.scss +0 -70
  28. data/app/assets/stylesheets/_structure/_main.scss +0 -154
  29. data/app/assets/stylesheets/_structure/_navigation.scss +0 -89
  30. data/app/assets/stylesheets/merge_status.scss +0 -0
  31. data/app/assets/stylesheets/shipit.scss +0 -21
@@ -1,148 +0,0 @@
1
- .repository-search {
2
- -webkit-appearance: none;
3
- width: 100%;
4
- @extend h1;
5
- border: none;
6
- font-family: "Helvetica Neue", sans-serif;
7
- font-weight: 200;
8
- background: asset-data-url('search.svg') no-repeat center right;
9
- &::-webkit-input-placeholder {
10
- color: #B5C0CA;
11
- }
12
- &:focus {
13
- outline: none;
14
- background-image: asset-data-url('search-active.svg');
15
- }
16
- }
17
-
18
- .repository-table-header {
19
- @include clearfix;
20
- margin: 0; padding: 1.25rem 0 1rem;
21
- .col {
22
- width: 25%;
23
- float: left;
24
- }
25
- li {
26
- list-style-type: none;
27
- font-size: .875em;
28
- color: #BAC5D1;
29
- }
30
- }
31
-
32
- .repository-lst {
33
- list-style-type: none;
34
- margin: 0; padding: 0; margin-bottom: 1.5rem;
35
- .col {
36
- width: 25%;
37
- float: left;
38
- text-overflow: ellipsis;
39
- white-space: nowrap;
40
- overflow: hidden;
41
- padding-right: .5rem;
42
- box-sizing: border-box;
43
- }
44
- .undeployed {
45
- background-image: asset-data-url('ship.png');
46
- background-repeat: no-repeat;
47
- background-size: 22px 22px;
48
- background-position: 0px center;
49
- padding-left: 30px;
50
- margin-left: -30px;
51
- }
52
- .archived {
53
- // From FontAwesome, license @ https://fontawesome.com/license/free
54
- background-image: asset-data-url('archive-solid.svg');
55
- background-repeat: no-repeat;
56
- background-size: 22px 22px;
57
- background-position: 0px center;
58
- padding-left: 30px;
59
- margin-left: -30px;
60
- }
61
- .auto-provisioned {
62
- // From FontAwesome, license @ https://fontawesome.com/license/free
63
- background-image: asset-data-url('magic-solid.svg');
64
- background-repeat: no-repeat;
65
- background-size: 22px 22px;
66
- background-position: 0px center;
67
- padding-left: 30px;
68
- margin-left: -30px;
69
- }
70
- }
71
-
72
- .repository-lst:empty:before {
73
- content: "No environment to deploy to, Shipit Squirrel is displeased";
74
- }
75
-
76
- .repository-lst li {
77
- &:nth-child(even) a {
78
- background-color: lighten(#EDF1F3, 3.5%);
79
- }
80
-
81
- &.selected a {
82
- background-color: $blue;
83
- outline: none;
84
- span { color: #fff; }
85
- small { color: rgba(#fff, .8); }
86
- }
87
-
88
- a {
89
- padding: .35rem;
90
- margin-left: -0.35rem; margin-right: -0.35rem;
91
- @include clearfix;
92
- border-radius: 4px;
93
- display: block;
94
- &:hover, &:focus {
95
- background-color: $blue;
96
- outline: none;
97
- span { color: #fff; }
98
- small { color: rgba(#fff, .8); }
99
- }
100
- }
101
- }
102
-
103
- .repository-search input {
104
- margin-left: 4%;
105
- width: 92%;
106
- padding: 6px;
107
- font-size: larger;
108
- -moz-border-radius: 8px;
109
- -webkit-border-radius: 8px;
110
- border-radius: 8px;
111
- outline: 0;
112
- border: 1px #a0a0a0 solid;
113
- }
114
-
115
- .repository-search-header {
116
- display: none;
117
- }
118
-
119
- .show-all-repositories {
120
- display: none;
121
- }
122
-
123
- .filtering-enabled {
124
- .show-all-repositories {
125
- display: inline-block;
126
- }
127
-
128
- .repository-search-header {
129
- display: block;
130
- }
131
- .search-item.not-matching {
132
- display: none;
133
- }
134
- }
135
-
136
- .new_repository {
137
- input.repo {
138
- width: 200px;
139
- display: inline;
140
-
141
- &:focus {
142
- padding-right: 30px !important;
143
- }
144
- }
145
- input:focus {
146
- border-color: $blue;
147
- }
148
- }
@@ -1,24 +0,0 @@
1
- // =============================================================================
2
- // SETTINGS PAGE
3
- // =============================================================================
4
-
5
- .setting-section {
6
- padding: 2rem 0;
7
-
8
- & + & {
9
- border-top: 1px solid #e5e5e5;
10
- }
11
-
12
- .form-hint {
13
- font-size: smaller;
14
- font-style: italic;
15
- }
16
-
17
- .ccmenu-url {
18
- width: 85%;
19
- }
20
-
21
- .hidden {
22
- display: none;
23
- }
24
- }
@@ -1,255 +0,0 @@
1
- .stack-search {
2
- -webkit-appearance: none;
3
- width: 100%;
4
- @extend h1;
5
- border: none;
6
- font-family: "Helvetica Neue", sans-serif;
7
- font-weight: 200;
8
- background: asset-data-url('search.svg') no-repeat center right;
9
- &::-webkit-input-placeholder {
10
- color: #B5C0CA;
11
- }
12
- &:focus {
13
- outline: none;
14
- background-image: asset-data-url('search-active.svg');
15
- }
16
- }
17
-
18
- .stack-table-header {
19
- @include clearfix;
20
- margin: 0; padding: 1.25rem 0 1rem;
21
- .col {
22
- width: 25%;
23
- float: left;
24
- }
25
- li {
26
- list-style-type: none;
27
- font-size: .875em;
28
- color: #BAC5D1;
29
- }
30
- }
31
-
32
- .stack-lst {
33
- list-style-type: none;
34
- margin: 0; padding: 0; margin-bottom: 1.5rem;
35
- .col {
36
- width: 25%;
37
- float: left;
38
- text-overflow: ellipsis;
39
- white-space: nowrap;
40
- overflow: hidden;
41
- padding-right: .5rem;
42
- box-sizing: border-box;
43
- }
44
- .undeployed {
45
- background-image: asset-data-url('ship.png');
46
- background-repeat: no-repeat;
47
- background-size: 22px 22px;
48
- background-position: 0px center;
49
- padding-left: 30px;
50
- margin-left: -30px;
51
- }
52
- .archived {
53
- // From FontAwesome, license @ https://fontawesome.com/license/free
54
- background-image: asset-data-url('archive-solid.svg');
55
- background-repeat: no-repeat;
56
- background-size: 22px 22px;
57
- background-position: 0px center;
58
- padding-left: 30px;
59
- margin-left: -30px;
60
- }
61
- .auto-provisioned {
62
- // From FontAwesome, license @ https://fontawesome.com/license/free
63
- background-image: asset-data-url('magic-solid.svg');
64
- background-repeat: no-repeat;
65
- background-size: 22px 22px;
66
- background-position: 0px center;
67
- padding-left: 30px;
68
- margin-left: -30px;
69
- }
70
- }
71
-
72
- .stack-lst:empty:before {
73
- content: "No environment to deploy to, Shipit Squirrel is displeased";
74
- }
75
-
76
- .stack-lst li {
77
- &:nth-child(even) a {
78
- background-color: lighten(#EDF1F3, 3.5%);
79
- }
80
-
81
- &.selected a {
82
- background-color: $blue;
83
- outline: none;
84
- span { color: #fff; }
85
- small { color: rgba(#fff, .8); }
86
- }
87
-
88
- a {
89
- padding: .35rem;
90
- margin-left: -0.35rem; margin-right: -0.35rem;
91
- @include clearfix;
92
- border-radius: 4px;
93
- display: block;
94
- &:hover, &:focus {
95
- background-color: $blue;
96
- outline: none;
97
- span { color: #fff; }
98
- small { color: rgba(#fff, .8); }
99
- }
100
- }
101
- }
102
-
103
- .commits-path {
104
- font-size: 18px;
105
- small {
106
- font-size: 18px;
107
- color: #8D9EB0;
108
- }
109
- }
110
-
111
- .stack-search input {
112
- margin-left: 4%;
113
- width: 92%;
114
- padding: 6px;
115
- font-size: larger;
116
- -moz-border-radius: 8px;
117
- -webkit-border-radius: 8px;
118
- border-radius: 8px;
119
- outline: 0;
120
- border: 1px #a0a0a0 solid;
121
- }
122
-
123
- .stack-search-header {
124
- display: none;
125
- }
126
-
127
- .show-all-stacks {
128
- display: none;
129
- }
130
-
131
- .filtering-enabled {
132
- .show-all-stacks {
133
- display: inline-block;
134
- }
135
-
136
- .stack-search-header {
137
- display: block;
138
- }
139
- .search-item.not-matching {
140
- display: none;
141
- }
142
- }
143
-
144
- .message {
145
- background-color: #E2F1FF;
146
- margin: 0px;
147
- padding-top: 20px;
148
- padding-bottom: 20px;
149
-
150
- h2 { font-weight: bold; padding-bottom: 10px; }
151
- p { margin: 0px; }
152
- }
153
-
154
- .configure-ci, .ignoring-ci {
155
- background-color: #E2F1FF;
156
- padding-top: 20px;
157
- padding-bottom: 20px;
158
-
159
- p { font-weight: bold; }
160
- }
161
-
162
- .new_stack {
163
- input.repo {
164
- width: 200px;
165
- display: inline;
166
-
167
- &:focus {
168
- padding-right: 30px !important;
169
- }
170
- }
171
- input:focus {
172
- border-color: $blue;
173
- }
174
- }
175
-
176
- .pagination {
177
- text-align: center;
178
- }
179
-
180
- .box {
181
- border-radius: 5px;
182
- width: 32%;
183
- float: left;
184
- padding: 5px;
185
- }
186
-
187
- .box__header {
188
- padding: 15px 25px;
189
- position: relative;
190
- }
191
-
192
- .box__header-title {
193
- color: #333;
194
- font-size: 18px;
195
- }
196
-
197
- .box__body {
198
- padding: 0 25px;
199
- }
200
-
201
- .row {
202
- @include clearfix;
203
- }
204
-
205
- .auto-provisioned {
206
- // From FontAwesome, license @ https://fontawesome.com/license/free
207
- background-image: asset-data-url('magic-solid.svg');
208
- background-repeat: no-repeat;
209
- background-size: 22px 22px;
210
- background-position: 0px center;
211
- padding-left: 30px;
212
- margin-left: 5px;
213
- }
214
-
215
- /* STATS */
216
-
217
- .stats {
218
- color: #333;
219
- position: relative;
220
- padding-bottom: 25px;
221
- }
222
-
223
- .stats__amount {
224
- font-size: 54px;
225
- line-height: 1.2;
226
- }
227
-
228
- .stats__caption {
229
- font-size: 18px;
230
-
231
- }
232
-
233
- .stats__change {
234
- position: absolute;
235
- top: 10px;
236
- right: 0;
237
- text-align: right;
238
- color: #B1B7C8;
239
- }
240
-
241
- .stats__value {
242
- font-size: 18px;
243
- }
244
-
245
- .stats__period {
246
- font-size: 14px;
247
- }
248
-
249
- .stats__value--positive {
250
- color: #AEDC6F;
251
- }
252
-
253
- .stats__value--negative {
254
- color: #FB5055;
255
- }
@@ -1,70 +0,0 @@
1
- // =============================================================================
2
- // HEADER
3
- // =============================================================================
4
-
5
- .wrapper {
6
- width: 80%;
7
- max-width: 1100px;
8
- margin: 0 auto;
9
- position: relative;
10
- }
11
-
12
-
13
- // HEADER
14
- // -----------------------------------------------------------------------------
15
-
16
- .header {
17
- border-bottom: 1px solid #e5e5e5;
18
- background-color: #fff;
19
- color: $grey;
20
- }
21
-
22
- .header__inner {
23
- display: flex;
24
- flex-wrap: wrap;
25
- padding: spacing(loose) 0;
26
- position: relative;
27
- }
28
-
29
- .header__page-title {
30
- flex-grow: 1;
31
- }
32
-
33
- .header__page-actions {
34
-
35
- }
36
-
37
- .header__btn {
38
- margin: 0.4em 0.5em 0.4em 0;
39
- }
40
-
41
- .powered-by {
42
- float: right;
43
- position: relative;
44
- top: spacing(tight);
45
- right: spacing();
46
- font-size: 12px;
47
- color: $grey;
48
- }
49
-
50
-
51
- // LOGO
52
- // -----------------------------------------------------------------------------
53
-
54
- .logo {
55
- background: asset-data-url('anchor.svg') center center no-repeat;
56
- display: block;
57
- width: 40px;
58
- height: 40px;
59
- transition: transform 0.3s ease-in-out;
60
- text-indent: -9999px;
61
- position: absolute;
62
- top: 50%;
63
- right: 100%;
64
- margin-right: spacing();
65
- margin-top: -20px;
66
-
67
- &:hover {
68
- transform: rotate(-25deg);
69
- }
70
- }
@@ -1,154 +0,0 @@
1
- .main {
2
- @include flex(1);
3
- padding-bottom: 3rem;
4
- &.no-footer {
5
- padding-bottom: 0;
6
- }
7
- }
8
-
9
- section {
10
- margin-top: 3rem;
11
-
12
- &.warning {
13
- background-color: orange;
14
- padding: 1rem;
15
- text-align: center;
16
-
17
- li {
18
- list-style-type: none;
19
- padding-bottom: 0.5rem;
20
- }
21
- }
22
- }
23
-
24
- .section-header {
25
- border-bottom: 1px solid rgba(#000, 0.1);
26
- padding-bottom: 1rem;
27
- @include clearfix;
28
-
29
- h2 {
30
- float: left;
31
- }
32
-
33
- .header-accessory {
34
- float: right;
35
- & > a {
36
- padding: .7rem 0;
37
- display: inline-block;
38
- & + a { margin-left: 1rem; }
39
- }
40
- & > p {
41
- margin: 0;
42
- padding: .7rem 0;
43
- color: $grey;
44
- font-size: .875rem;
45
- .repo-name { font-weight: 500; color: #777; }
46
- }
47
- }
48
-
49
- }
50
-
51
- pre {
52
- background-color: $terminal-black;
53
- min-height: 100%;
54
- overflow-x: auto;
55
- color: #fff;
56
- padding: 1.5rem;
57
- line-height: 1.5em;
58
- font-family: "Source Code Pro";
59
- white-space: pre-wrap;
60
- &.nowrap {
61
- white-space: pre;
62
- margin-top: -.25rem;
63
- margin-bottom: 0rem;
64
- }
65
- }
66
-
67
- .number {
68
- font-family: Menlo, monospace;
69
- }
70
-
71
- .repo-header {
72
- background-color: $blue;
73
- padding: 1.75rem 0;
74
- @include clearfix;
75
- &.success { background-color: $green; }
76
- &.failure { background-color: $bright-red; }
77
-
78
- a {
79
- color: #fff;
80
- }
81
-
82
- .repo-name {
83
- float: left;
84
- h1 a {
85
- text-transform: capitalize;
86
- }
87
- }
88
-
89
- p {
90
- font-size: .75rem;
91
- color: rgba(#000, .4);
92
- margin: 0;
93
- }
94
-
95
- h1 {
96
- color: #fff;
97
- font-size: 1.75rem;
98
- margin-bottom: 0;
99
- small { color: rgba(#000, .4); font-size: 1em; font-weight: 200; text-transform: capitalize; }
100
- }
101
-
102
- .header-accessory {
103
- float: right;
104
- margin-top: 1.35rem;
105
- a + a { margin-left: .5rem; }
106
- }
107
-
108
- .deploy-url {
109
- color: rgba(#fff, .5);
110
- font-size: .75em;
111
- }
112
- }
113
-
114
- .notice {
115
- background-color: #f0f4f7;
116
- padding: 1rem 1.5rem;
117
- -webkit-animation: notice-slide-in .3s .6s ease-in-out backwards;
118
- overflow: hidden;
119
-
120
- .message {
121
- float: left;
122
- }
123
-
124
- .cta {
125
- float: right;
126
- }
127
-
128
- h3 {
129
- font-size: 1rem;
130
- margin: 0;
131
- color: #4b5866;
132
- }
133
-
134
- p {
135
- font-size: .875rem;
136
- color: #828d96;
137
- margin: 0;
138
- }
139
-
140
- }
141
-
142
- .less-important {
143
- color: $grey;
144
- margin-bottom: 0em;
145
- margin-top: 5em;
146
- p {
147
- margin-top: 1.5rem;
148
- margin-bottom: 0.5em;
149
- }
150
- }
151
-
152
- @include keyframes(notice-slide-in) {
153
- 0% { margin-top: -74px; }
154
- }