tachikoma 3.0.8 → 3.0.9

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
  SHA1:
3
- metadata.gz: 78e77c83adddbb97b2ccc50c3e16f022cf0b249c
4
- data.tar.gz: 1e859a3b6eb57e6e508d419c4d05af6da9e30ff2
3
+ metadata.gz: 42e6f428a116e0b20d4d756fc680d968ea04e605
4
+ data.tar.gz: 26a1bb99ae789f27c1d5cf65675469117df829f2
5
5
  SHA512:
6
- metadata.gz: 6b06e491be73778555cfc20d939688210d09574fa5a99d5ff2984943814ec9e4277ec48b85fb8edbf2d5f95790dcd40c26d0ba4944877fc9f8c5dc0967b03cc1
7
- data.tar.gz: 32ff833f38e119ea00dab51cf7e62648e5774c12c49b8f6e953c10d0aab6dc7a4cc81d138b0aadb9770b6e41d37ab4a3f16ecaf4179285d708037e73de378d20
6
+ metadata.gz: 8008055c18b785c4c07ece26005059a287f93dc709aa7169ee7543597c73824738897416174fb7402401b58f03f32e9ca95f07d6ad5e4c283a00900e5555af5e
7
+ data.tar.gz: 5e104ea39226c482b15d1e344bcce4448837871aa3871203b2c7ff5229b3f1f327cef94ca422873928699cfa3a9783825bf18a07155590f2fa61c0096f5ab04c
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Build Status](https://api.travis-ci.org/sanemat/tachikoma.png?branch=master)](https://travis-ci.org/sanemat/tachikoma)
5
5
  [![Code Climate](https://codeclimate.com/github/sanemat/tachikoma.png)](https://codeclimate.com/github/sanemat/tachikoma)
6
6
 
7
- Daily Pull Requester with bundle update. [Actual pull request](https://github.com/mrtaddy/fenix-knight/pull/25)
7
+ Daily Pull Requester with bundle/carton update. [Actual pull request](https://github.com/mrtaddy/fenix-knight/pull/25)
8
8
 
9
9
  [![screen shot 2013-07-22 at 8 09 29 am](https://f.cloud.github.com/assets/75448/832475/b0ce829a-f25a-11e2-8984-521dbe7d838e.png)](https://vimeo.com/70733613)
10
10
 
@@ -1,4 +1,4 @@
1
1
  # Version of tachikoma
2
2
  module Tachikoma
3
- VERSION = '3.0.8'
3
+ VERSION = '3.0.9'
4
4
  end
data/lib/tasks/app.rake CHANGED
@@ -118,10 +118,25 @@ namespace :tachikoma do
118
118
  end
119
119
  end
120
120
 
121
+ desc 'carton'
122
+ task :carton do
123
+ Dir.chdir("#{Tachikoma.repos_path.to_s}/#{@build_for}") do
124
+ sh "git config user.name #{@commiter_name}"
125
+ sh "git config user.email #{@commiter_email}"
126
+ sh "git checkout -b feature/carton-#{@readable_time} #{@base_remote_branch}"
127
+ sh 'carton install'
128
+ sh 'carton update'
129
+ sh 'git add carton.lock' if File.exist?('carton.lock')
130
+ sh 'git add cpanfile.snapshot' if File.exist?('cpanfile.snapshot')
131
+ sh %Q!git commit -m "Carton update #{@readable_time}"! do; end # ignore exitstatus
132
+ sh "git push #{@authorized_url} feature/carton-#{@readable_time}"
133
+ end
134
+ end
135
+
121
136
  desc 'pull_request'
122
137
  task :pull_request do
123
138
  begin
124
- @client = Octokit::Client.new(login: @github_account, oauth_token: @github_token)
139
+ @client = Octokit::Client.new access_token: @github_token
125
140
  @client.create_pull_request(@pull_request_url, @pull_request_base, @pull_request_head, @pull_request_title, @pull_request_body)
126
141
  rescue Octokit::UnprocessableEntity
127
142
  end
data/tachikoma.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency 'safe_yaml'
22
22
  spec.add_dependency 'rake'
23
- spec.add_dependency 'octokit', '< 2'
23
+ spec.add_dependency 'octokit', '>= 2', '< 3'
24
24
  spec.add_dependency 'json'
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1.3'
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: 3.0.8
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - sanemat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-10 00:00:00.000000000 Z
11
+ date: 2013-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: safe_yaml
@@ -42,16 +42,22 @@ dependencies:
42
42
  name: octokit
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - <
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2'
48
+ - - <
49
+ - !ruby/object:Gem::Version
50
+ version: '3'
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
51
54
  requirements:
52
- - - <
55
+ - - '>='
53
56
  - !ruby/object:Gem::Version
54
57
  version: '2'
58
+ - - <
59
+ - !ruby/object:Gem::Version
60
+ version: '3'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: json
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -158,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
164
  version: '0'
159
165
  requirements: []
160
166
  rubyforge_project:
161
- rubygems_version: 2.0.3
167
+ rubygems_version: 2.0.8
162
168
  signing_key:
163
169
  specification_version: 4
164
170
  summary: Update gem frequently gets less pain. Let's doing bundle update as a habit!