stitches 4.0.1 → 4.1.0RC2

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: 1224843bf19c711e4058e54025f2507fe4dd0085fb5afdd57d5d383bf8d1b03e
4
- data.tar.gz: 8f2c1f7f053d711e6419b8e19c23cc123ce7164513b7cb3978091d081612001a
3
+ metadata.gz: 181e2199d9e7f15ef933d3c3b87262f83894e02c25821d53aa23191db16c6a7a
4
+ data.tar.gz: 8f90ed0f8e39e94715f77f2708f1fe87da31318f97708dfd50692f8408ec9d71
5
5
  SHA512:
6
- metadata.gz: f16b168bf89994f06816661fb0dda066c248a3c55a22bdeebebf32d4a0e784368b41a460f25a84c9e0c4a694b37d372a24cf739171191925f31df7df7a562be6
7
- data.tar.gz: 053d0ae0e44945437218bc87206038029065b0ff8b6f8321bbad8b878024bddb16432b0f23136286e6019805a716d541a37a2d5382479b9216a9cde0104bf5d9
6
+ metadata.gz: f4043849fc0c7da16cd1a87216897a6bf696b0cf82adf18d5a2d0e0277fd8ba7881e6af75e1c6451ee9fece50902bb1088166ac46c40eddc74cc4b3c01f5ecc5
7
+ data.tar.gz: 2e2310a95b713fe859ce309cac4d03552fd094ac03d2526045095980f488204a27a04da5c459b90719af9f947af13f1d70301b9eddb21f90a742470198760bd2
data/.circleci/config.yml CHANGED
@@ -5,7 +5,7 @@ version: 2
5
5
  jobs:
6
6
  generate-and-push-docs:
7
7
  docker:
8
- - image: circleci/ruby:2.7.2
8
+ - image: circleci/ruby:3.0.0
9
9
  auth:
10
10
  username: "$DOCKERHUB_USERNAME"
11
11
  password: "$DOCKERHUB_PASSWORD"
@@ -26,7 +26,7 @@ jobs:
26
26
  docs:push; fi
27
27
  release:
28
28
  docker:
29
- - image: circleci/ruby:2.7.2
29
+ - image: circleci/ruby:3.0.0
30
30
  auth:
31
31
  username: "$DOCKERHUB_USERNAME"
32
32
  password: "$DOCKERHUB_PASSWORD"
@@ -41,14 +41,44 @@ jobs:
41
41
  - run:
42
42
  name: Build/release gem to artifactory
43
43
  command: bundle exec rake push_artifactory
44
- ruby-2.7.2-rails-6.0:
44
+ ruby-3.0.0-rails-6.1:
45
+ docker:
46
+ - image: circleci/ruby:3.0.0
47
+ auth:
48
+ username: "$DOCKERHUB_USERNAME"
49
+ password: "$DOCKERHUB_PASSWORD"
50
+ environment:
51
+ BUNDLE_GEMFILE: Gemfile.rails-6.1
52
+ working_directory: "~/stitches"
53
+ steps:
54
+ - checkout
55
+ - run:
56
+ name: Check for Gemfile.lock presence
57
+ command: ' if (test -f Gemfile.lock) then echo "Dont commit Gemfile.lock (see
58
+ https://github.com/stitchfix/eng-wiki/blob/master/architecture-decisions/0009-rubygem-dependencies-will-be-managed-more-explicitly.md)"
59
+ 1>&2 ; exit 1 ; else exit 0 ; fi '
60
+ - run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN
61
+ - run: bundle install --full-index
62
+ - run: bundle exec rspec --format RspecJunitFormatter --out /tmp/test-results/rspec.xml
63
+ --format=doc
64
+ - run:
65
+ name: Run Additional CI Steps
66
+ command: if [ -e bin/additional-ci-steps ]; then bin/additional-ci-steps;
67
+ fi
68
+ - run:
69
+ name: Notify Pager Duty
70
+ command: bundle exec y-notify "#eng-runtime-alerts"
71
+ when: on_fail
72
+ - store_test_results:
73
+ path: "/tmp/test-results"
74
+ ruby-2.7.2-rails-6.1:
45
75
  docker:
46
76
  - image: circleci/ruby:2.7.2
47
77
  auth:
48
78
  username: "$DOCKERHUB_USERNAME"
49
79
  password: "$DOCKERHUB_PASSWORD"
50
80
  environment:
51
- BUNDLE_GEMFILE: Gemfile.rails-6.0
81
+ BUNDLE_GEMFILE: Gemfile.rails-6.1
52
82
  working_directory: "~/stitches"
53
83
  steps:
54
84
  - checkout
@@ -67,13 +97,13 @@ jobs:
67
97
  fi
68
98
  - run:
69
99
  name: Notify Pager Duty
70
- command: bundle exec y-notify "#devex-alerts"
100
+ command: bundle exec y-notify "#eng-runtime-alerts"
71
101
  when: on_fail
72
102
  - store_test_results:
73
103
  path: "/tmp/test-results"
74
- ruby-2.6.6-rails-6.0:
104
+ ruby-3.0.0-rails-6.0:
75
105
  docker:
76
- - image: circleci/ruby:2.6.6
106
+ - image: circleci/ruby:3.0.0
77
107
  auth:
78
108
  username: "$DOCKERHUB_USERNAME"
79
109
  password: "$DOCKERHUB_PASSWORD"
@@ -97,18 +127,18 @@ jobs:
97
127
  fi
98
128
  - run:
99
129
  name: Notify Pager Duty
100
- command: bundle exec y-notify "#devex-alerts"
130
+ command: bundle exec y-notify "#eng-runtime-alerts"
101
131
  when: on_fail
102
132
  - store_test_results:
103
133
  path: "/tmp/test-results"
104
- ruby-2.7.2-rails-5.2:
134
+ ruby-2.7.2-rails-6.0:
105
135
  docker:
106
136
  - image: circleci/ruby:2.7.2
107
137
  auth:
108
138
  username: "$DOCKERHUB_USERNAME"
109
139
  password: "$DOCKERHUB_PASSWORD"
110
140
  environment:
111
- BUNDLE_GEMFILE: Gemfile.rails-5.2
141
+ BUNDLE_GEMFILE: Gemfile.rails-6.0
112
142
  working_directory: "~/stitches"
113
143
  steps:
114
144
  - checkout
@@ -127,13 +157,13 @@ jobs:
127
157
  fi
128
158
  - run:
129
159
  name: Notify Pager Duty
130
- command: bundle exec y-notify "#devex-alerts"
160
+ command: bundle exec y-notify "#eng-runtime-alerts"
131
161
  when: on_fail
132
162
  - store_test_results:
133
163
  path: "/tmp/test-results"
134
- ruby-2.6.6-rails-5.2:
164
+ ruby-2.7.2-rails-5.2:
135
165
  docker:
136
- - image: circleci/ruby:2.6.6
166
+ - image: circleci/ruby:2.7.2
137
167
  auth:
138
168
  username: "$DOCKERHUB_USERNAME"
139
169
  password: "$DOCKERHUB_PASSWORD"
@@ -157,7 +187,7 @@ jobs:
157
187
  fi
158
188
  - run:
159
189
  name: Notify Pager Duty
160
- command: bundle exec y-notify "#devex-alerts"
190
+ command: bundle exec y-notify "#eng-runtime-alerts"
161
191
  when: on_fail
162
192
  - store_test_results:
163
193
  path: "/tmp/test-results"
@@ -168,10 +198,11 @@ workflows:
168
198
  - release:
169
199
  context: org-global
170
200
  requires:
201
+ - ruby-3.0.0-rails-6.1
202
+ - ruby-2.7.2-rails-6.1
203
+ - ruby-3.0.0-rails-6.0
171
204
  - ruby-2.7.2-rails-6.0
172
- - ruby-2.6.6-rails-6.0
173
205
  - ruby-2.7.2-rails-5.2
174
- - ruby-2.6.6-rails-5.2
175
206
  filters:
176
207
  tags:
177
208
  only: /^[0-9]+\.[0-9]+\.[0-9]+(\.?(RC|rc)[-\.]?\w*)?$/
@@ -186,22 +217,27 @@ workflows:
186
217
  only: /^[0-9]+\.[0-9]+\.[0-9]+(\.?(RC|rc)[-\.]?\w*)?$/
187
218
  branches:
188
219
  ignore: /.*/
189
- - ruby-2.7.2-rails-6.0:
220
+ - ruby-3.0.0-rails-6.1:
190
221
  context: org-global
191
222
  filters:
192
223
  tags:
193
224
  only: &1 /.*/
194
- - ruby-2.6.6-rails-6.0:
225
+ - ruby-2.7.2-rails-6.1:
195
226
  context: org-global
196
227
  filters:
197
228
  tags:
198
229
  only: *1
199
- - ruby-2.7.2-rails-5.2:
230
+ - ruby-3.0.0-rails-6.0:
231
+ context: org-global
232
+ filters:
233
+ tags:
234
+ only: *1
235
+ - ruby-2.7.2-rails-6.0:
200
236
  context: org-global
201
237
  filters:
202
238
  tags:
203
239
  only: *1
204
- - ruby-2.6.6-rails-5.2:
240
+ - ruby-2.7.2-rails-5.2:
205
241
  context: org-global
206
242
  filters:
207
243
  tags:
@@ -215,11 +251,13 @@ workflows:
215
251
  only:
216
252
  - master
217
253
  jobs:
218
- - ruby-2.7.2-rails-6.0:
254
+ - ruby-3.0.0-rails-6.1:
219
255
  context: org-global
220
- - ruby-2.6.6-rails-6.0:
256
+ - ruby-2.7.2-rails-6.1:
221
257
  context: org-global
222
- - ruby-2.7.2-rails-5.2:
258
+ - ruby-3.0.0-rails-6.0:
223
259
  context: org-global
224
- - ruby-2.6.6-rails-5.2:
260
+ - ruby-2.7.2-rails-6.0:
261
+ context: org-global
262
+ - ruby-2.7.2-rails-5.2:
225
263
  context: org-global
data/.github/CODEOWNERS CHANGED
@@ -8,4 +8,4 @@
8
8
  # This file uses the GitHub CODEOWNERS convention to assign PR reviewers:
9
9
  # https://help.github.com/articles/about-codeowners/
10
10
 
11
- * @brettfishman @bwebster @stitchfix/devex
11
+ * @brettfishman @bwebster @stitchfix/runtime-infrastructure
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.2
1
+ ruby-2.7.2
data/Gemfile.rails-6.1 ADDED
@@ -0,0 +1,7 @@
1
+ # DO NOT MODIFY - this is managed by Git Reduce in goro
2
+ #
3
+ source 'https://stitchfix01.jfrog.io/stitchfix01/api/gems/eng-gems/'
4
+
5
+ gemspec
6
+
7
+ gem 'rails', '~> 6.1.0'
@@ -1,9 +1,13 @@
1
1
  require 'active_support/time_with_zone'
2
2
 
3
3
  class ActiveSupport::TimeWithZone
4
- # We want dates to be a) in UTC and b) in ISO8601 always
4
+ # We want dates to always be in UTC
5
5
  def as_json(options = {})
6
- utc.iso8601
6
+ if utc?
7
+ super
8
+ else
9
+ utc.as_json(options)
10
+ end
7
11
  end
8
12
  end
9
13
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stitches
4
- VERSION = '4.0.1'
4
+ VERSION = '4.1.0RC2'
5
5
  end
data/owners.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "owners": [
3
3
  {
4
- "team": "devex"
4
+ "team": "eng-runtime"
5
5
  }
6
6
  ]
7
7
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stitches
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.1.0RC2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stitch Fix Engineering
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-11-12 00:00:00.000000000 Z
14
+ date: 2021-03-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -123,6 +123,7 @@ files:
123
123
  - Gemfile.rails-5.1
124
124
  - Gemfile.rails-5.2
125
125
  - Gemfile.rails-6.0
126
+ - Gemfile.rails-6.1
126
127
  - LICENSE.txt
127
128
  - README.md
128
129
  - Rakefile
@@ -195,9 +196,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
195
196
  version: '0'
196
197
  required_rubygems_version: !ruby/object:Gem::Requirement
197
198
  requirements:
198
- - - ">="
199
+ - - ">"
199
200
  - !ruby/object:Gem::Version
200
- version: '0'
201
+ version: 1.3.1
201
202
  requirements: []
202
203
  rubygems_version: 3.1.4
203
204
  signing_key: