to_simple_yaml 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gempush.yml +33 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -3
- data/lib/to_simple_yaml/version.rb +1 -1
- data/to_simple_yaml.gemspec +2 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee0678c1d1cb6a188d0a001359b7fd44207c780e2ad52151d548df4611c26095
|
4
|
+
data.tar.gz: aff7efc550145a256526365c94ec08b4f45453f9a70f9a08e09a583a77b543f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07ae65afaa2be501aeba361646e0e8040ec998eecf18fa0149f9eb77d330b116eb52b6752dc2a1b9e94055b5cbd0b357938ce41ae1c386d224964edb9e043db3
|
7
|
+
data.tar.gz: 438b79738ed5604bf352f1f34d855f96b11691339e21e95b2392cb449e7ea22e6f20c55ad92da91e06eb0493de148dda23ce1b62fc177dc5b5f908e8bc82cfef
|
@@ -0,0 +1,33 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
name: Build + Publish
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@master
|
18
|
+
- name: Set up Ruby 2.6
|
19
|
+
uses: actions/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
version: 2.6.x
|
22
|
+
- run: rake test
|
23
|
+
|
24
|
+
- name: Publish to RubyGems
|
25
|
+
run: |
|
26
|
+
mkdir -p $HOME/.gem
|
27
|
+
touch $HOME/.gem/credentials
|
28
|
+
chmod 0600 $HOME/.gem/credentials
|
29
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
30
|
+
gem build *.gemspec
|
31
|
+
gem push *.gem
|
32
|
+
env:
|
33
|
+
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# ToSimpleYaml
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Simpler output than to_yaml
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -23,6 +21,7 @@ Or install it yourself as:
|
|
23
21
|
## Usage
|
24
22
|
Can use method to to_simple_yaml in Hash,Struct and Array class.
|
25
23
|
```ruby
|
24
|
+
require 'to_simple_yaml'
|
26
25
|
hash.to_simple_yaml
|
27
26
|
```
|
28
27
|
|
data/to_simple_yaml.gemspec
CHANGED
@@ -13,6 +13,8 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.description = "simpler output than to_yaml"
|
14
14
|
spec.homepage = "https://github.com/tanmen/to_simple_yaml"
|
15
15
|
|
16
|
+
spec.license = "MIT"
|
17
|
+
|
16
18
|
# Specify which files should be added to the gem when it is released.
|
17
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
20
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: to_simple_yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tanmen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -59,6 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".github/workflows/gempush.yml"
|
62
63
|
- ".gitignore"
|
63
64
|
- ".idea/.gitignore"
|
64
65
|
- ".idea/.rakeTasks"
|
@@ -78,7 +79,8 @@ files:
|
|
78
79
|
- lib/to_simple_yaml/version.rb
|
79
80
|
- to_simple_yaml.gemspec
|
80
81
|
homepage: https://github.com/tanmen/to_simple_yaml
|
81
|
-
licenses:
|
82
|
+
licenses:
|
83
|
+
- MIT
|
82
84
|
metadata: {}
|
83
85
|
post_install_message:
|
84
86
|
rdoc_options: []
|