bitbucket-api-extension 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +58 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +46 -0
- data/Rakefile +49 -0
- data/VERSION +1 -0
- data/bitbucket-api-extension.gemspec +74 -0
- data/lib/bitbucket-api-extension.rb +18 -0
- data/lib/bitbucket-api-extension/account.rb +12 -0
- data/lib/bitbucket-api-extension/api.rb +102 -0
- data/lib/bitbucket-api-extension/comment.rb +13 -0
- data/lib/bitbucket-api-extension/project.rb +11 -0
- data/lib/bitbucket-api-extension/pull_request.rb +13 -0
- data/spec/bitbucket-api-extension_spec.rb +7 -0
- data/spec/spec_helper.rb +12 -0
- metadata +179 -0
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/Gemfile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
# Add dependencies required to use your gem here.
|
3
|
+
# Example:
|
4
|
+
# gem "activesupport", ">= 2.3.5"
|
5
|
+
|
6
|
+
gem 'nokogiri'
|
7
|
+
gem 'mechanize'
|
8
|
+
gem 'virtus'
|
9
|
+
|
10
|
+
# Add dependencies to develop your gem here.
|
11
|
+
# Include everything needed to run rake, tests, features, etc.
|
12
|
+
group :development do
|
13
|
+
gem "rspec"
|
14
|
+
gem "rdoc"
|
15
|
+
gem "bundler"
|
16
|
+
gem "jeweler"
|
17
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
backports (2.6.7)
|
5
|
+
descendants_tracker (0.0.1)
|
6
|
+
diff-lcs (1.2.4)
|
7
|
+
domain_name (0.5.11)
|
8
|
+
unf (>= 0.0.5, < 1.0.0)
|
9
|
+
git (1.2.5)
|
10
|
+
jeweler (1.8.4)
|
11
|
+
bundler (~> 1.0)
|
12
|
+
git (>= 1.2.5)
|
13
|
+
rake
|
14
|
+
rdoc
|
15
|
+
json (1.7.7)
|
16
|
+
mechanize (2.6.0)
|
17
|
+
domain_name (~> 0.5, >= 0.5.1)
|
18
|
+
mime-types (~> 1.17, >= 1.17.2)
|
19
|
+
net-http-digest_auth (~> 1.1, >= 1.1.1)
|
20
|
+
net-http-persistent (~> 2.5, >= 2.5.2)
|
21
|
+
nokogiri (~> 1.4)
|
22
|
+
ntlm-http (~> 0.1, >= 0.1.1)
|
23
|
+
webrobots (>= 0.0.9, < 0.2)
|
24
|
+
mime-types (1.23)
|
25
|
+
net-http-digest_auth (1.3)
|
26
|
+
net-http-persistent (2.8)
|
27
|
+
nokogiri (1.5.9)
|
28
|
+
ntlm-http (0.1.1)
|
29
|
+
rake (10.0.4)
|
30
|
+
rdoc (4.0.1)
|
31
|
+
json (~> 1.4)
|
32
|
+
rspec (2.13.0)
|
33
|
+
rspec-core (~> 2.13.0)
|
34
|
+
rspec-expectations (~> 2.13.0)
|
35
|
+
rspec-mocks (~> 2.13.0)
|
36
|
+
rspec-core (2.13.1)
|
37
|
+
rspec-expectations (2.13.0)
|
38
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
39
|
+
rspec-mocks (2.13.1)
|
40
|
+
unf (0.1.1)
|
41
|
+
unf_ext
|
42
|
+
unf_ext (0.0.6)
|
43
|
+
virtus (0.5.4)
|
44
|
+
backports (~> 2.6.1)
|
45
|
+
descendants_tracker (~> 0.0.1)
|
46
|
+
webrobots (0.1.1)
|
47
|
+
|
48
|
+
PLATFORMS
|
49
|
+
ruby
|
50
|
+
|
51
|
+
DEPENDENCIES
|
52
|
+
bundler
|
53
|
+
jeweler
|
54
|
+
mechanize
|
55
|
+
nokogiri
|
56
|
+
rdoc
|
57
|
+
rspec
|
58
|
+
virtus
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2013 S.nishio
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
= bitbucket-api-extension
|
2
|
+
|
3
|
+
== Function
|
4
|
+
|
5
|
+
* fetch bitbucket pull request list
|
6
|
+
* fetch bitbucket pull request comment
|
7
|
+
* post comment to bitbucket easily
|
8
|
+
|
9
|
+
== Usage
|
10
|
+
|
11
|
+
# initialize
|
12
|
+
account = BitbucketApiExtension::Account.new(user_id: 'your account',
|
13
|
+
user_password: 'your password')
|
14
|
+
project = BitbucketApiExtension::Project.new(name: 'your project name',
|
15
|
+
organization_name: 'your name or team name')
|
16
|
+
api = BitbucketApiExtension::Api.new(project, account)
|
17
|
+
|
18
|
+
# fetch pull request list
|
19
|
+
pp api.pull_requests
|
20
|
+
|
21
|
+
# merge command
|
22
|
+
first_pullrequest = api.pull_requests.first
|
23
|
+
pp api.merge_commands(first_pullrequest)
|
24
|
+
|
25
|
+
# fetch comment
|
26
|
+
pp api.pull_request_comment(first_pullrequest)
|
27
|
+
|
28
|
+
# post comment
|
29
|
+
api.post_comment(first_pullrequest, "something...")
|
30
|
+
|
31
|
+
|
32
|
+
== Contributing to bitbucket-api-extension
|
33
|
+
|
34
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
35
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
36
|
+
* Fork the project.
|
37
|
+
* Start a feature/bugfix branch.
|
38
|
+
* Commit and push until you are happy with your contribution.
|
39
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
40
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
41
|
+
|
42
|
+
== Copyright
|
43
|
+
|
44
|
+
Copyright (c) 2013 S.nishio. See LICENSE.txt for
|
45
|
+
further details.
|
46
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gem|
|
16
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
+
gem.name = "bitbucket-api-extension"
|
18
|
+
gem.homepage = "http://github.com/nishio-dens/bitbucket-api-extension"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{Bitbucket API extension}
|
21
|
+
gem.description = %Q{}
|
22
|
+
gem.email = "nishio@densan-labs.net"
|
23
|
+
gem.authors = ["S.nishio"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rspec/core'
|
29
|
+
require 'rspec/core/rake_task'
|
30
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
32
|
+
end
|
33
|
+
|
34
|
+
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
35
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
36
|
+
spec.rcov = true
|
37
|
+
end
|
38
|
+
|
39
|
+
task :default => :spec
|
40
|
+
|
41
|
+
require 'rdoc/task'
|
42
|
+
Rake::RDocTask.new do |rdoc|
|
43
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
44
|
+
|
45
|
+
rdoc.rdoc_dir = 'rdoc'
|
46
|
+
rdoc.title = "bitbucket-api-extension #{version}"
|
47
|
+
rdoc.rdoc_files.include('README*')
|
48
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
49
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.0
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "bitbucket-api-extension"
|
8
|
+
s.version = "0.0.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["S.nishio"]
|
12
|
+
s.date = "2013-05-12"
|
13
|
+
s.description = ""
|
14
|
+
s.email = "nishio@densan-labs.net"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".rspec",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"LICENSE.txt",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"bitbucket-api-extension.gemspec",
|
29
|
+
"lib/bitbucket-api-extension.rb",
|
30
|
+
"lib/bitbucket-api-extension/account.rb",
|
31
|
+
"lib/bitbucket-api-extension/api.rb",
|
32
|
+
"lib/bitbucket-api-extension/comment.rb",
|
33
|
+
"lib/bitbucket-api-extension/project.rb",
|
34
|
+
"lib/bitbucket-api-extension/pull_request.rb",
|
35
|
+
"spec/bitbucket-api-extension_spec.rb",
|
36
|
+
"spec/spec_helper.rb"
|
37
|
+
]
|
38
|
+
s.homepage = "http://github.com/nishio-dens/bitbucket-api-extension"
|
39
|
+
s.licenses = ["MIT"]
|
40
|
+
s.require_paths = ["lib"]
|
41
|
+
s.rubygems_version = "1.8.23"
|
42
|
+
s.summary = "Bitbucket API extension"
|
43
|
+
|
44
|
+
if s.respond_to? :specification_version then
|
45
|
+
s.specification_version = 3
|
46
|
+
|
47
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
48
|
+
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
|
49
|
+
s.add_runtime_dependency(%q<mechanize>, [">= 0"])
|
50
|
+
s.add_runtime_dependency(%q<virtus>, [">= 0"])
|
51
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
52
|
+
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
53
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
54
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
55
|
+
else
|
56
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
57
|
+
s.add_dependency(%q<mechanize>, [">= 0"])
|
58
|
+
s.add_dependency(%q<virtus>, [">= 0"])
|
59
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
60
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
61
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
62
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
63
|
+
end
|
64
|
+
else
|
65
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
66
|
+
s.add_dependency(%q<mechanize>, [">= 0"])
|
67
|
+
s.add_dependency(%q<virtus>, [">= 0"])
|
68
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
69
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
70
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
71
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
|
4
|
+
|
5
|
+
require 'rubygems'
|
6
|
+
require 'nokogiri'
|
7
|
+
require 'open-uri'
|
8
|
+
require 'json'
|
9
|
+
require 'net/http'
|
10
|
+
require 'uri'
|
11
|
+
require 'pathname'
|
12
|
+
require 'virtus'
|
13
|
+
|
14
|
+
require 'bitbucket-api-extension/project'
|
15
|
+
require 'bitbucket-api-extension/account'
|
16
|
+
require 'bitbucket-api-extension/pull_request'
|
17
|
+
require 'bitbucket-api-extension/api'
|
18
|
+
require 'bitbucket-api-extension/comment'
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
module BitbucketApiExtension; end
|
4
|
+
|
5
|
+
class BitbucketApiExtension::Api
|
6
|
+
|
7
|
+
BITBUCKET_URI = 'https://bitbucket.org'
|
8
|
+
BITBUCKET_API_URI = 'https://api.bitbucket.org/1.0/repositories'
|
9
|
+
|
10
|
+
attr_reader :account, :project
|
11
|
+
|
12
|
+
def initialize(project, account=nil)
|
13
|
+
@project = project
|
14
|
+
@account = account
|
15
|
+
end
|
16
|
+
|
17
|
+
# プルリクエスト一覧を取得する
|
18
|
+
def pull_requests
|
19
|
+
uri = pull_request_list_url(@project.organization_name, @project.name)
|
20
|
+
list = []
|
21
|
+
open(uri, auth_option) do |f|
|
22
|
+
html = Nokogiri::HTML(f.read).xpath('//table[contains(@class,"pullrequest-list")]/tbody/tr')
|
23
|
+
list = html.map do |request|
|
24
|
+
title = request.xpath('td[@class="title"]/div/a').text
|
25
|
+
BitbucketApiExtension::PullRequest.new(
|
26
|
+
title: title,
|
27
|
+
id: title.scan(/#(\d+):.*/)
|
28
|
+
.flatten
|
29
|
+
.first,
|
30
|
+
request_page_url: request.xpath('td[@class="title"]/div/a')
|
31
|
+
.map{ |link| BITBUCKET_URI + link['href'] }
|
32
|
+
.first
|
33
|
+
.to_s,
|
34
|
+
author: request.xpath('td[@class="author"]/div/span')
|
35
|
+
.text)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
list
|
39
|
+
end
|
40
|
+
|
41
|
+
# 指定したプルリクエストのマージコマンドを取得する
|
42
|
+
def merge_commands(pull_request)
|
43
|
+
commands = []
|
44
|
+
open(pull_request.request_page_url, auth_option) do |f|
|
45
|
+
html = Nokogiri::HTML(f.read)
|
46
|
+
commands = html.xpath('//pre[@class="merge-commands"]/code').text.split("\n")
|
47
|
+
end
|
48
|
+
commands
|
49
|
+
end
|
50
|
+
|
51
|
+
# 指定したプルリクエストに関連するコメントを取得する
|
52
|
+
def pull_request_comment(pull_request)
|
53
|
+
url = pull_request_comment_url(@project.organization_name, @project.name, pull_request.id)
|
54
|
+
comment = []
|
55
|
+
open(url, auth_option) do |f|
|
56
|
+
list = JSON.parse(f.read)
|
57
|
+
comment = list.map do |c|
|
58
|
+
BitbucketApiExtension::Comment.new(
|
59
|
+
pull_request_id: c["pull_request_id"],
|
60
|
+
author_username: c["author_info"]["username"],
|
61
|
+
author_display_name: c["author_info"]["display_name"],
|
62
|
+
comment: c["content"])
|
63
|
+
end
|
64
|
+
end
|
65
|
+
comment
|
66
|
+
end
|
67
|
+
|
68
|
+
# 指定したプルリクエストにコメントを書き込む
|
69
|
+
def post_comment(pull_request, text)
|
70
|
+
url = pull_request_comment_url(@project.organization_name, @project.name, pull_request.id)
|
71
|
+
post(url, content: text)
|
72
|
+
end
|
73
|
+
|
74
|
+
private
|
75
|
+
|
76
|
+
def auth_option
|
77
|
+
if @account.nil?
|
78
|
+
{}
|
79
|
+
else
|
80
|
+
{http_basic_authentication: [@account.user_id, @account.user_password]}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
def pull_request_list_url(organization_name, project_name)
|
85
|
+
"#{BITBUCKET_URI}/#{organization_name}/#{project_name}/pull-requests"
|
86
|
+
end
|
87
|
+
|
88
|
+
def pull_request_comment_url(organization_name, project_name, id)
|
89
|
+
"#{BITBUCKET_API_URI}/#{organization_name}/#{project_name}/pullrequests/#{id}/comments"
|
90
|
+
end
|
91
|
+
|
92
|
+
def post(uri, body)
|
93
|
+
uri = URI.parse(uri)
|
94
|
+
request = Net::HTTP::Post.new(uri.path)
|
95
|
+
request.basic_auth(@account.user_id, @account.user_password)
|
96
|
+
request.set_form_data(body)
|
97
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
98
|
+
http.use_ssl = true
|
99
|
+
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
100
|
+
http.start { |h| h.request(request) }
|
101
|
+
end
|
102
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
require 'rspec'
|
4
|
+
require 'bitbucket-api-extension'
|
5
|
+
|
6
|
+
# Requires supporting files with custom matchers and macros, etc,
|
7
|
+
# in ./support/ and its subdirectories.
|
8
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
|
12
|
+
end
|
metadata
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bitbucket-api-extension
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- S.nishio
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-05-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: nokogiri
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: mechanize
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: virtus
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rdoc
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: bundler
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: jeweler
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
description: ''
|
127
|
+
email: nishio@densan-labs.net
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files:
|
131
|
+
- LICENSE.txt
|
132
|
+
- README.rdoc
|
133
|
+
files:
|
134
|
+
- .document
|
135
|
+
- .rspec
|
136
|
+
- Gemfile
|
137
|
+
- Gemfile.lock
|
138
|
+
- LICENSE.txt
|
139
|
+
- README.rdoc
|
140
|
+
- Rakefile
|
141
|
+
- VERSION
|
142
|
+
- bitbucket-api-extension.gemspec
|
143
|
+
- lib/bitbucket-api-extension.rb
|
144
|
+
- lib/bitbucket-api-extension/account.rb
|
145
|
+
- lib/bitbucket-api-extension/api.rb
|
146
|
+
- lib/bitbucket-api-extension/comment.rb
|
147
|
+
- lib/bitbucket-api-extension/project.rb
|
148
|
+
- lib/bitbucket-api-extension/pull_request.rb
|
149
|
+
- spec/bitbucket-api-extension_spec.rb
|
150
|
+
- spec/spec_helper.rb
|
151
|
+
homepage: http://github.com/nishio-dens/bitbucket-api-extension
|
152
|
+
licenses:
|
153
|
+
- MIT
|
154
|
+
post_install_message:
|
155
|
+
rdoc_options: []
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
160
|
+
requirements:
|
161
|
+
- - ! '>='
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
segments:
|
165
|
+
- 0
|
166
|
+
hash: 2670716623520004592
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
requirements: []
|
174
|
+
rubyforge_project:
|
175
|
+
rubygems_version: 1.8.23
|
176
|
+
signing_key:
|
177
|
+
specification_version: 3
|
178
|
+
summary: Bitbucket API extension
|
179
|
+
test_files: []
|