xliff 1.0.0 → 1.0.3

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: ab1e4614db50aed2434bfb0dd40806e26d7316df9267ddc0214b53ac6ad282a4
4
- data.tar.gz: fb97a9d1e8a95b06a625ca35f6d123c7438ca635b73e4f3df223655aeaa06170
3
+ metadata.gz: eed3d148c4f4f2d93f2b514c458c929db791836b17217efe2a8182117abc79dc
4
+ data.tar.gz: 9e6aaae1ef25339187c9e2763476ca448b72cd7feeb335081d81fcacc250280a
5
5
  SHA512:
6
- metadata.gz: 25adf170edb6cf6810feed9399adb423320a87a8f9ed01c7564e836b6a9b274c450f1c02f9c14ccdd78d1035c7f9cd2b44b1cfb24ce8299e1f5e4e6c34feb2e1
7
- data.tar.gz: aac73d5358320549c165b6e6bbd0f7224a5e1215575c4de3ab120e45fd4483cd1cc6b47077f575c7bacdc3121ebbd881cdaed5b7d6aafdc12f2f12d80132052e
6
+ metadata.gz: 1be29d152be63e4f796a452b36a35c75a9670b4ba131e850bc6468faa89503f73f9bb26deac034f1bab283e8636cbb0fe7dda0255ccbf7bff8e2c8a98119c3ad
7
+ data.tar.gz: d347bcd7ae24cb793e395dbedb7c0a04ce6515b3cc3913faae1d78d087081f3c1c1d4120fee2c5e8891b9ae6d6871fc1234aaf61e0b641b30baabb256254107c
@@ -0,0 +1,14 @@
1
+ #!/bin/bash -eu
2
+
3
+ GEM_NAME="xliff"
4
+
5
+ echo "--- :hammer: Build Gemspec"
6
+ gem build "$GEM_NAME.gemspec" -o "$GEM_NAME.gem"
7
+
8
+ echo "--- :sleuth_or_spy: Validate Gem Install"
9
+ gem install --user-install "$GEM_NAME.gem"
10
+
11
+ echo "--- :rubygems: Gem Push"
12
+ echo ":rubygems_api_key: ${RUBYGEMS_API_KEY}" >>".gem-credentials"
13
+ chmod 600 ".gem-credentials"
14
+ gem push --config-file ".gem-credentials" "$GEM_NAME.gem"
@@ -3,7 +3,7 @@ common_params:
3
3
  plugins:
4
4
  - &docker_plugin
5
5
  docker#v3.8.0:
6
- image: &ruby_version "ruby:2.7.4"
6
+ image: &ruby_version "public.ecr.aws/docker/library/ruby:3.2.2"
7
7
  propagate-environment: true
8
8
  environment:
9
9
  - "RUBYGEMS_API_KEY"
@@ -91,5 +91,3 @@ steps:
91
91
  # BUILDKITE_COMMAND environment variable.
92
92
  command: .buildkite/gem-push.sh
93
93
  plugins: [*docker_plugin]
94
- agents:
95
- queue: "default"
data/.rubocop.yml CHANGED
@@ -6,6 +6,9 @@ AllCops:
6
6
  Metrics/BlockLength:
7
7
  AllowedMethods: ['describe']
8
8
 
9
+ Gemspec/RequireMFA:
10
+ Enabled: false
11
+
9
12
  require:
10
13
  - rubocop-rspec
11
14
  - rubocop-rake
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.4
1
+ 3.2.2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xliff (1.0.0)
4
+ xliff (1.0.2)
5
5
  nokogiri (~> 1.13)
6
6
 
7
7
  GEM
data/Makefile CHANGED
@@ -1,15 +1,17 @@
1
+ RUBY_VERSION = $(shell cat .ruby-version)
2
+
1
3
  test:
2
- docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:2.7.4-bullseye /bin/bash -c "bundle install && bundle exec rspec"
4
+ docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:$(RUBY_VERSION)-bullseye /bin/bash -c "bundle install && bundle exec rspec"
3
5
 
4
6
  lint:
5
- docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:2.7.4-bullseye /bin/bash -c "bundle install && bundle exec rubocop"
7
+ docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:$(RUBY_VERSION)-bullseye /bin/bash -c "bundle install && bundle exec rubocop"
6
8
 
7
9
  update-dependencies:
8
- docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:2.7.4-bullseye /bin/bash -c "bundle update"
10
+ docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:$(RUBY_VERSION)-bullseye /bin/bash -c "bundle update"
9
11
 
10
12
  bundle-check:
11
- docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:2.7.4-bullseye /bin/bash -c "bundle install && bundle check"
13
+ docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:$(RUBY_VERSION)-bullseye /bin/bash -c "bundle install && bundle check"
12
14
 
13
15
  build:
14
- docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:2.7.4-bullseye /bin/bash -c "gem build xliff.gemspec"
16
+ docker run -v $(shell pwd):/app -w /app public.ecr.aws/docker/library/ruby:$(RUBY_VERSION)-bullseye /bin/bash -c "gem build xliff.gemspec"
15
17
 
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xliff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Automattic
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2024-01-26 00:00:00.000000000 Z
@@ -32,6 +32,7 @@ executables:
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
+ - ".buildkite/gem-push.sh"
35
36
  - ".buildkite/pipeline.yml"
36
37
  - ".bundle/config"
37
38
  - ".rspec"
@@ -62,7 +63,7 @@ metadata:
62
63
  source_code_uri: https://github.com/automattic/xliff
63
64
  changelog_uri: https://github.com/automattic/xliff/CHANGELOG.md
64
65
  rubygems_mfa_required: 'false'
65
- post_install_message:
66
+ post_install_message:
66
67
  rdoc_options: []
67
68
  require_paths:
68
69
  - lib
@@ -77,8 +78,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
78
  - !ruby/object:Gem::Version
78
79
  version: '0'
79
80
  requirements: []
80
- rubygems_version: 3.1.6
81
- signing_key:
81
+ rubygems_version: 3.4.10
82
+ signing_key:
82
83
  specification_version: 4
83
84
  summary: Manage xliff files from Ruby
84
85
  test_files: []