pori 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -21,6 +21,10 @@ Or install it yourself as:
21
21
  $ cd path/to/local-git-directory
22
22
  $ pori
23
23
 
24
+ ## Requirements
25
+
26
+ * [cURL](http://curl.haxx.se/)
27
+
24
28
  ## Contributing
25
29
 
26
30
  1. Fork it
data/lib/pori/context.rb CHANGED
@@ -2,22 +2,10 @@
2
2
 
3
3
  PWD = Dir.pwd
4
4
 
5
- def git_command
6
- `which git`.chomp
7
- end
8
-
9
5
  def current_dir
10
6
  PWD
11
7
  end
12
8
 
13
- def git_dir
14
- `#{git_command} rev-parse -q --git-dir`
15
- end
16
-
17
- def is_repo?
18
- !!git_dir
19
- end
20
-
21
9
  def new_repo_name
22
10
  is_git_repo=system("git rev-parse -q --git-dir")
23
11
 
@@ -34,5 +22,3 @@ def new_repo_name
34
22
  end
35
23
  repo_name
36
24
  end
37
-
38
-
data/lib/pori/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pori
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/pori.gemspec CHANGED
@@ -4,14 +4,15 @@ require File.expand_path('../lib/pori/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Akira Maeda"]
6
6
  gem.email = ["glidenote@gmail.com"]
7
- gem.homepage = ["https://github.com/glidenote/pori"]
8
7
  gem.summary = %q{A command line tool for Bitbucket to create repositories.}
9
- gem.homepage = ""
8
+ gem.homepage = "http://github.com/glidenote/pori/"
10
9
 
11
10
  gem.files = `git ls-files`.split($\)
12
11
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
- gem.name = "pori"
13
+ gem.name = 'pori'
15
14
  gem.require_paths = ["lib"]
16
15
  gem.version = Pori::VERSION
16
+
17
+ gem.add_dependency 'pit'
17
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pori
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,18 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-06-04 00:00:00.000000000 Z
13
- dependencies: []
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: pit
16
+ requirement: &70147834541300 !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: *70147834541300
14
25
  description:
15
26
  email:
16
27
  - glidenote@gmail.com
@@ -30,7 +41,7 @@ files:
30
41
  - lib/pori/context.rb
31
42
  - lib/pori/version.rb
32
43
  - pori.gemspec
33
- homepage: ''
44
+ homepage: http://github.com/glidenote/pori/
34
45
  licenses: []
35
46
  post_install_message:
36
47
  rdoc_options: []