tachikoma 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -1
- data/.travis.yml +3 -3
- data/CHANGELOG.md +5 -0
- data/lib/tachikoma/application.rb +12 -12
- data/lib/tachikoma/version.rb +1 -1
- data/tachikoma.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccefb5b3e08fc2bb64e40a77a2c47ee8e904eba3
|
4
|
+
data.tar.gz: 697ec5ac1435b638f60369dc6d3e0e2ff0016ab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c61d525e247595a7455892582e523434e817d8cc7f12316b283732956d325d753f54afd1e189e1701393cca414d323a1f081d3945be632e36cd049906cf69301
|
7
|
+
data.tar.gz: 02e9fba402f3e61054ae23da4887f911183f0c2df4af9111539350c0c2b539a0082a29a1c1e74f39d70ca7842db2ff1bff0272f2a33c6e5f765e4af4fa8f7c0b
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -32,7 +32,7 @@ module Tachikoma
|
|
32
32
|
each_config_path = File.join(Tachikoma.data_path, "#{@build_for}.yaml")
|
33
33
|
each_config = YAML.safe_load_file(each_config_path) if File.exist?(each_config_path)
|
34
34
|
unless each_config
|
35
|
-
fail %
|
35
|
+
fail %(Something wrong, BUILD_FOR: #{@build_for}, your config_path: #{each_config_path})
|
36
36
|
end
|
37
37
|
|
38
38
|
@configure = base_config.merge(user_config).merge(each_config)
|
@@ -70,14 +70,14 @@ module Tachikoma
|
|
70
70
|
def bundler
|
71
71
|
Dir.chdir("#{Tachikoma.repos_path}/#{@build_for}") do
|
72
72
|
Bundler.with_clean_env do
|
73
|
-
sh %
|
73
|
+
sh %(ruby -i -pe '$_.gsub! /^ruby/, "#ruby"' Gemfile)
|
74
74
|
sh "git config user.name #{@commiter_name}"
|
75
75
|
sh "git config user.email #{@commiter_email}"
|
76
76
|
sh "git checkout -b tachikoma/update-#{@readable_time} #{@base_remote_branch}"
|
77
77
|
sh "bundle --gemfile Gemfile --no-deployment --without nothing --path vendor/bundle #{@parallel_option}"
|
78
78
|
sh 'bundle update'
|
79
79
|
sh 'git add Gemfile.lock'
|
80
|
-
sh %
|
80
|
+
sh %(git commit -m "Bundle update #{@readable_time}") do; end # ignore exitstatus
|
81
81
|
sh "git push #{@authorized_compare_url} tachikoma/update-#{@readable_time}"
|
82
82
|
end
|
83
83
|
end
|
@@ -97,7 +97,7 @@ module Tachikoma
|
|
97
97
|
sh 'carton update'
|
98
98
|
sh 'git add carton.lock' if File.exist?('carton.lock')
|
99
99
|
sh 'git add cpanfile.snapshot' if File.exist?('cpanfile.snapshot')
|
100
|
-
sh %
|
100
|
+
sh %(git commit -m "Carton update #{@readable_time}") do; end # ignore exitstatus
|
101
101
|
sh "git push #{@authorized_compare_url} tachikoma/update-#{@readable_time}"
|
102
102
|
end
|
103
103
|
end
|
@@ -107,7 +107,7 @@ module Tachikoma
|
|
107
107
|
sh "git config user.name #{@commiter_name}"
|
108
108
|
sh "git config user.email #{@commiter_email}"
|
109
109
|
sh "git checkout -b tachikoma/update-#{@readable_time} #{@base_remote_branch}"
|
110
|
-
sh %
|
110
|
+
sh %(git commit --allow-empty -m "None update #{@readable_time}") do; end # ignore exitstatus
|
111
111
|
sh "git push #{@authorized_compare_url} tachikoma/update-#{@readable_time}"
|
112
112
|
end
|
113
113
|
end
|
@@ -119,7 +119,7 @@ module Tachikoma
|
|
119
119
|
sh "git checkout -b tachikoma/update-#{@readable_time} #{@base_remote_branch}"
|
120
120
|
sh 'david update --warn404'
|
121
121
|
sh 'git add package.json'
|
122
|
-
sh %
|
122
|
+
sh %(git commit -m "David update #{@readable_time}") do; end # ignore exitstatus
|
123
123
|
sh "git push #{@authorized_compare_url} tachikoma/update-#{@readable_time}"
|
124
124
|
end
|
125
125
|
end
|
@@ -134,7 +134,7 @@ module Tachikoma
|
|
134
134
|
sh 'composer install --no-interaction'
|
135
135
|
sh 'composer update --no-interaction'
|
136
136
|
sh 'git add composer.lock'
|
137
|
-
sh %
|
137
|
+
sh %(git commit -m "Composer update #{@readable_time}") do; end # ignore exitstatus
|
138
138
|
sh "git push #{@authorized_compare_url} tachikoma/update-#{@readable_time}"
|
139
139
|
end
|
140
140
|
end
|
@@ -144,10 +144,10 @@ module Tachikoma
|
|
144
144
|
sh "git config user.name #{@commiter_name}"
|
145
145
|
sh "git config user.email #{@commiter_email}"
|
146
146
|
sh "git checkout -b tachikoma/update-#{@readable_time} #{@base_remote_branch}"
|
147
|
-
sh '
|
148
|
-
sh '
|
147
|
+
sh 'pod install'
|
148
|
+
sh 'pod update'
|
149
149
|
sh 'git add Podfile.lock'
|
150
|
-
sh %
|
150
|
+
sh %(git commit -m "Cocoapods update #{@readable_time}") do; end # ignore exitstatus
|
151
151
|
sh "git push #{@authorized_compare_url} tachikoma/update-#{@readable_time}"
|
152
152
|
end
|
153
153
|
end
|
@@ -167,7 +167,7 @@ module Tachikoma
|
|
167
167
|
uri = URI.parse(fetch_url)
|
168
168
|
case type
|
169
169
|
when 'fork'
|
170
|
-
%
|
170
|
+
%(#{uri.scheme}://#{github_token}:x-oauth-basic@#{uri.host}#{path_for_fork(uri.path, github_account)})
|
171
171
|
when 'shared'
|
172
172
|
"#{uri.scheme}://#{github_token}:x-oauth-basic@#{uri.host}#{uri.path}"
|
173
173
|
else
|
@@ -175,7 +175,7 @@ module Tachikoma
|
|
175
175
|
end
|
176
176
|
end
|
177
177
|
|
178
|
-
def authorized_base_url_with_type(fetch_url, type, github_token,
|
178
|
+
def authorized_base_url_with_type(fetch_url, type, github_token, _github_account)
|
179
179
|
uri = URI.parse(fetch_url)
|
180
180
|
case type
|
181
181
|
when 'fork', 'shared'
|
data/lib/tachikoma/version.rb
CHANGED
data/tachikoma.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Tachikoma::VERSION
|
9
9
|
spec.authors = ['sanemat']
|
10
10
|
spec.email = ['o.gata.ken@gmail.com']
|
11
|
-
spec.description =
|
12
|
-
spec.summary =
|
11
|
+
spec.description = 'Interval pull requester with bundler/carton/david/cocoapods/composer/none update.'
|
12
|
+
spec.summary = "Update gem frequently gets less pain. Let's doing bundle update as a habit!"
|
13
13
|
spec.homepage = 'https://github.com/sanemat/tachikoma'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tachikoma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sanemat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: safe_yaml
|