pbmenv 0.1.1 → 0.1.2

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: ef480a00f5dc91ea2269721035b8bc58c20078bd89f6b5484ccf96e664e68e10
4
- data.tar.gz: 0cde53229b1177ec6adba401687e15302529fbcc261820eb5e5e1d1034192563
3
+ metadata.gz: b0a9101c515824a7260f8b7fa580f1ed510170115d2181defc5f45883bf5eccc
4
+ data.tar.gz: 6e90fafc2894fc95d6ace3a63864117fbeaf2da18527f0748f7bb41a6240813a
5
5
  SHA512:
6
- metadata.gz: c8e9401fb8e6f01d04fa55ccfe48e60026b1cc7b400203172ae7a1793bc3f4cd6fc78e8a2ef8c8b7d2fee180ed0c86b6b5f3b2b1b95575dd8091e64b57ad94b7
7
- data.tar.gz: 537a0dc40da2f341319d664d0f7cc154de6f9e632712b0c2a1e16afbb8fbb4becd164dfe1c036da8d8c75b39e4b10e59e17bdef7db5c645533ddec97f0ea5a20
6
+ metadata.gz: 1d880d194e32cd5070a8b4eb871a6ac7ef05a9aa4803532b9dcc8c95ad81358b0b18e763a77cd86d6fb93b46c3b12b2e1bca468ea7bb04a0bf7e097c65a93933
7
+ data.tar.gz: a82362de51b9910c13876938cbb4ea31b03ec9709bbae00785b989a13520f243da40d9fa4698d5e4c29ab5a8679af9846e046dc6ede8eefb974be4d2ba59c913
data/.circleci/config.yml CHANGED
@@ -36,7 +36,6 @@ build_jobs: &build_jobs
36
36
  parameters:
37
37
  version:
38
38
  - "2.5"
39
- - "2.6"
40
39
  - "2.7"
41
40
  - "3.0"
42
41
  workflows:
@@ -0,0 +1,33 @@
1
+ name: Publish to RubyGems
2
+
3
+ on:
4
+ [workflow_dispatch]
5
+
6
+ jobs:
7
+ release:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: write
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ token: ${{ secrets.GITHUB_TOKEN }}
16
+ - name: Set up Ruby 2.6
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.6
20
+ bundler-cache: true
21
+ - name: Publish to RubyGems
22
+ run: |
23
+ git config --local user.email "action@github.com"
24
+ git config --local user.name "GitHub Action"
25
+
26
+ mkdir -p $HOME/.gem
27
+ touch $HOME/.gem/credentials
28
+ chmod 0600 $HOME/.gem/credentials
29
+ printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_TOKEN}\n" > $HOME/.gem/credentials
30
+ bundle exec rake release
31
+ env:
32
+ RUBYGEMS_API_TOKEN: "${{secrets.RUBYGEMS_API_TOKEN}}"
33
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -0,0 +1,32 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ [push, workflow_dispatch]
12
+
13
+ jobs:
14
+ test:
15
+
16
+ runs-on: ubuntu-latest
17
+ strategy:
18
+ matrix:
19
+ ruby-version: ['2.5', '2.7', '3.0']
20
+
21
+ steps:
22
+ - uses: actions/checkout@v2
23
+ - name: Set up Ruby
24
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
25
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
26
+ # uses: ruby/setup-ruby@v1
27
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
28
+ with:
29
+ ruby-version: ${{ matrix.ruby-version }}
30
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
31
+ - name: Run tests
32
+ run: bundle exec rake
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## [0.1.1] - 2021-09-
1
+ ## [0.1.2] - 2021-09-19
2
+
3
+ - Github Actionsを使う
4
+
5
+ ## [0.1.1] - 2021-09-18
2
6
 
3
7
  - installの引数にlatestという値を渡せるようにしました
4
8
 
data/Dockerfile CHANGED
@@ -3,4 +3,4 @@ FROM ruby:2.5
3
3
  WORKDIR /pbmenv
4
4
 
5
5
  ADD docker/Gemfile .
6
- RUN gem i bundler && bundle install
6
+ RUN apt-get update && apt-get install vim && gem i bundler && bundle install
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pbmenv (0.1.1)
4
+ pbmenv (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -30,6 +30,7 @@ GEM
30
30
  PLATFORMS
31
31
  aarch64-linux
32
32
  arm64-darwin-20
33
+ x86_64-linux
33
34
 
34
35
  DEPENDENCIES
35
36
  pbmenv!
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Pbmenv
2
+ [![Ruby](https://github.com/splaplapla/pbmenv/actions/workflows/ruby.yml/badge.svg?branch=master)](https://github.com/splaplapla/pbmenv/actions/workflows/ruby.yml)
2
3
 
3
4
  * https://github.com/splaplapla/procon_bypass_man のバージョンマネージャー
4
5
  * Raspberry Pi OSでの実行を想定しています
data/Rakefile CHANGED
@@ -1,4 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "bundler/gem_tasks"
4
- task default: %i[]
4
+
5
+ begin
6
+ require 'rspec/core/rake_task'
7
+
8
+ RSpec::Core::RakeTask.new(:spec)
9
+
10
+ task :default => :spec
11
+ rescue LoadError
12
+ # no rspec available
13
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pbmenv
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pbmenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - jiikko
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-17 00:00:00.000000000 Z
11
+ date: 2021-09-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A package manager of PBM
14
14
  email:
@@ -19,6 +19,8 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - ".circleci/config.yml"
22
+ - ".github/workflows/release.yml"
23
+ - ".github/workflows/ruby.yml"
22
24
  - ".gitignore"
23
25
  - ".rspec"
24
26
  - CHANGELOG.md
@@ -44,7 +46,7 @@ licenses:
44
46
  - MIT
45
47
  metadata:
46
48
  homepage_uri: https://github.com/splaplapla/pbmenv
47
- post_install_message:
49
+ post_install_message:
48
50
  rdoc_options: []
49
51
  require_paths:
50
52
  - lib
@@ -59,8 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
61
  - !ruby/object:Gem::Version
60
62
  version: '0'
61
63
  requirements: []
62
- rubygems_version: 3.2.3
63
- signing_key:
64
+ rubygems_version: 3.0.3.1
65
+ signing_key:
64
66
  specification_version: 4
65
67
  summary: A package manager of PBM
66
68
  test_files: []