faker-precure 0.0.5 → 0.0.6

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
- SHA1:
3
- metadata.gz: eda647764978adabb8ef4db09ab102415b3af758
4
- data.tar.gz: 719a6ff72fffa0ef90f7ae42500f36997a9df46b
2
+ SHA256:
3
+ metadata.gz: 1219da6f946db4aae347159b44a09505ad7a30ef52a8ec3aedc08002a2ddcc6b
4
+ data.tar.gz: 0113e9882a6a3d1c81c77690922de77107d2527ed9705595cc6e240e5bcb834d
5
5
  SHA512:
6
- metadata.gz: 9440a4551aff47fdb56cca95413de58a7ad9ce34141b126cc6dc3931ba2db6d8f2ac5e5455efe173b0151d30e02219d4a4d58631dc6ab4637f8507fd63a7857f
7
- data.tar.gz: 7f1f219e33ded039fed983965f03016819d50573cbce53e923c34caa0dc5195821de6e74d22eff0ed194bdf5ef9e12fc893c718436b7b3cf26e1b5648f23daf1
6
+ metadata.gz: f92834cbd09bdee9e02f1f335fbc85ec2ed7eddd4769b4059ee26065f4968a15f43d63a094f334104bf5858cfdd9d185a7670bdb00640908165580e7b6c5729f
7
+ data.tar.gz: 8c1b756943e0297f6f906b4b57386542e53badee156d61ea8f50fae1fcb9eeb020f132255b3179e2b0e03d2a1954b588c1762da8e288e13972001849b81d722b
@@ -0,0 +1,96 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - synchronize
11
+ - reopened
12
+ schedule:
13
+ - cron: "0 10 * * 5" # JST 19:00 (Fri)
14
+
15
+ env:
16
+ CI: "true"
17
+ RUBYOPT: -EUTF-8
18
+
19
+ jobs:
20
+ test:
21
+ runs-on: ubuntu-latest
22
+
23
+ container: ${{ matrix.ruby }}
24
+
25
+ strategy:
26
+ fail-fast: false
27
+
28
+ matrix:
29
+ ruby:
30
+ - ruby:2.2
31
+ - ruby:2.3
32
+ - ruby:2.4
33
+ - ruby:2.5
34
+ - ruby:2.6
35
+ - ruby:2.7
36
+ - ruby:3.0
37
+ - rubylang/ruby:master-nightly-bionic
38
+ include:
39
+ - ruby: rubylang/ruby:master-nightly-bionic
40
+ allow_failures: "true"
41
+
42
+ steps:
43
+ - uses: actions/checkout@v2
44
+
45
+
46
+ - name: Cache vendor/bundle
47
+ uses: actions/cache@v1
48
+ id: cache_gem
49
+ with:
50
+ path: vendor/bundle
51
+ key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
52
+ restore-keys: |
53
+ v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
54
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
55
+
56
+ - name: bundle update
57
+ run: |
58
+ set -xe
59
+ bundle config path vendor/bundle
60
+ bundle update --jobs $(nproc) --retry 3
61
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
62
+
63
+ - name: Run test
64
+ run: |
65
+ set -xe
66
+ bundle exec rspec
67
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
68
+
69
+ - name: Slack Notification (not success)
70
+ uses: lazy-actions/slatify@master
71
+ if: "! success()"
72
+ continue-on-error: true
73
+ with:
74
+ job_name: ${{ format('*build* ({0})', matrix.ruby) }}
75
+ type: ${{ job.status }}
76
+ icon_emoji: ":octocat:"
77
+ url: ${{ secrets.SLACK_WEBHOOK }}
78
+ token: ${{ secrets.GITHUB_TOKEN }}
79
+
80
+ notify:
81
+ needs:
82
+ - test
83
+
84
+ runs-on: ubuntu-latest
85
+
86
+ steps:
87
+ - name: Slack Notification (success)
88
+ uses: lazy-actions/slatify@master
89
+ if: always()
90
+ continue-on-error: true
91
+ with:
92
+ job_name: '*build*'
93
+ type: ${{ job.status }}
94
+ icon_emoji: ":octocat:"
95
+ url: ${{ secrets.SLACK_WEBHOOK }}
96
+ token: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Changelog
2
2
  ## master
3
- [full changelog](http://github.com/sue445/faker-precure/compare/v0.0.5...master)
3
+ [full changelog](http://github.com/sue445/faker-precure/compare/v0.0.6...master)
4
+
5
+ ## v0.0.6
6
+ [full changelog](http://github.com/sue445/faker-precure/compare/v0.0.5...v0.0.6)
7
+
8
+ * Enable MFA requirement for gem releasing
9
+ * https://github.com/sue445/faker-precure/pull/28
4
10
 
5
11
  ## v0.0.5
6
12
  [full changelog](http://github.com/sue445/faker-precure/compare/v0.0.4...v0.0.5)
data/Gemfile CHANGED
@@ -2,8 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in faker-precure.gemspec
4
4
  gemspec
5
-
6
- if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
7
- # NOTE: activesupport 5.x supports only ruby 2.2.2+
8
- gem "activesupport", ">= 4.0.0", "< 5.0.0"
9
- end
data/README.md CHANGED
@@ -2,10 +2,9 @@
2
2
  Test data generator using Precure(Pretty Cure)
3
3
 
4
4
  [![Gem Version](https://badge.fury.io/rb/faker-precure.svg)](http://badge.fury.io/rb/faker-precure)
5
- [![Build Status](https://travis-ci.org/sue445/faker-precure.svg?branch=master)](https://travis-ci.org/sue445/faker-precure)
5
+ [![Build Status](https://github.com/sue445/faker-precure/workflows/test/badge.svg?branch=master)](https://github.com/sue445/faker-precure/actions?query=workflow%3Atest)
6
6
  [![Code Climate](https://codeclimate.com/github/sue445/faker-precure.png)](https://codeclimate.com/github/sue445/faker-precure)
7
7
  [![Coverage Status](https://coveralls.io/repos/sue445/faker-precure/badge.png)](https://coveralls.io/r/sue445/faker-precure)
8
- [![Dependency Status](https://gemnasium.com/sue445/faker-precure.svg)](https://gemnasium.com/sue445/faker-precure)
9
8
 
10
9
  ## Installation
11
10
 
@@ -13,6 +13,11 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/sue445/faker-precure"
14
14
  spec.license = "MIT"
15
15
 
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = spec.homepage
18
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
19
+ spec.metadata["rubygems_mfa_required"] = "true"
20
+
16
21
  spec.files = `git ls-files -z`.split("\x0")
17
22
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
23
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
@@ -1,5 +1,5 @@
1
1
  module Faker
2
2
  module Precure
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- if ENV["COVERAGE"]
1
+ if ENV["CI"]
2
2
  require 'coveralls'
3
3
  Coveralls.wear!
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker-precure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-09 00:00:00.000000000 Z
11
+ date: 2021-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubicure
@@ -102,10 +102,9 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".coveralls.yml"
105
+ - ".github/workflows/test.yml"
105
106
  - ".gitignore"
106
107
  - ".rspec"
107
- - ".tachikoma.yml"
108
- - ".travis.yml"
109
108
  - ".yardopts"
110
109
  - CHANGELOG.md
111
110
  - Gemfile
@@ -122,8 +121,12 @@ files:
122
121
  homepage: https://github.com/sue445/faker-precure
123
122
  licenses:
124
123
  - MIT
125
- metadata: {}
126
- post_install_message:
124
+ metadata:
125
+ homepage_uri: https://github.com/sue445/faker-precure
126
+ source_code_uri: https://github.com/sue445/faker-precure
127
+ changelog_uri: https://github.com/sue445/faker-precure/blob/master/CHANGELOG.md
128
+ rubygems_mfa_required: 'true'
129
+ post_install_message:
127
130
  rdoc_options: []
128
131
  require_paths:
129
132
  - lib
@@ -138,9 +141,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
141
  - !ruby/object:Gem::Version
139
142
  version: '0'
140
143
  requirements: []
141
- rubyforge_project:
142
- rubygems_version: 2.5.1
143
- signing_key:
144
+ rubygems_version: 3.2.22
145
+ signing_key:
144
146
  specification_version: 4
145
147
  summary: Test data generator using precure
146
148
  test_files:
data/.tachikoma.yml DELETED
@@ -1 +0,0 @@
1
- strategy: 'bundler'
data/.travis.yml DELETED
@@ -1,22 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.2
4
- - 2.3.3
5
- - 2.4.0
6
- - ruby-head
7
- bundler_args: "--jobs=2"
8
- cache: bundler
9
- before_script:
10
- - export COVERAGE=true
11
- script: bundle exec rspec
12
- branches:
13
- only:
14
- - master
15
- notifications:
16
- email: false
17
- slack:
18
- secure: HKvrZjP1KUWhyNMA/3TfIe7vGXARu0gZFnntYPpIGm0N3Y8o3IHBc0Z0cY6N/VpFLinA95mfG8fk6SWUyqqlIfJiEQ7eIMj6kkOqWL+ro7BDMmi+pVSlE+Q2RmroY8pBKhFC7RsVW0JEjJ2OU4GqrVlxTncMNsfKNDCU3BXpWAU=
19
- matrix:
20
- allow_failures:
21
- - rvm: ruby-head
22
- sudo: false