gist_updater 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +6 -5
- data/bin/validate-target-ruby-version.rb +10 -0
- data/lib/gist_updater/content.rb +2 -1
- data/lib/gist_updater/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9712505000e40a55b9f9541e41b4df7fdedb7e984bcf1912ca8319cdd6bae3ae
|
4
|
+
data.tar.gz: 6f72273734fc4c03ae7de9aefdfb4dbbd83ed1dde4e6e0dcaaebb0ab4e95e7e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffc94492de1ae1625e01924555c145f7bcb0cd30232f3c91a39d90ccb9d54b014512119740d8c416e36fed742b738de34ae835373cf4129d0c34e22dd299c22c
|
7
|
+
data.tar.gz: 9e39f2a23cefcf948a15a2395b4ba78e2e7dc35bd4e260981e48c7e0486c1a3cd862a49cf95d1dc537a3bc0b5d3ea700688d2445762efa55e2fd9b6a536a2239
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'yaml'
|
4
|
+
|
5
|
+
# rubocop's TargetRubyVersion should be the oldest version in .travis.yml
|
6
|
+
|
7
|
+
target = YAML.load_file('.rubocop.yml')['AllCops']['TargetRubyVersion'].to_s
|
8
|
+
oldest = YAML.load_file('.travis.yml')['rvm'].min
|
9
|
+
|
10
|
+
exit 1 unless oldest.start_with?(target)
|
data/lib/gist_updater/content.rb
CHANGED
data/lib/gist_updater/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gist_updater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Masuda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -143,6 +143,7 @@ files:
|
|
143
143
|
- Rakefile
|
144
144
|
- bin/console
|
145
145
|
- bin/setup
|
146
|
+
- bin/validate-target-ruby-version.rb
|
146
147
|
- exe/gist_updater
|
147
148
|
- gist_updater.gemspec
|
148
149
|
- gist_updater.yml.example
|
@@ -173,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
174
|
version: '0'
|
174
175
|
requirements: []
|
175
176
|
rubyforge_project:
|
176
|
-
rubygems_version: 2.7.
|
177
|
+
rubygems_version: 2.7.6
|
177
178
|
signing_key:
|
178
179
|
specification_version: 4
|
179
180
|
summary: Updates your Gist files defined in YAML
|