upstreamer 0.0.1 → 0.0.2

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: 0cb2c3c0a05eb4af2f4a4762eea0b7a0cb0acd02
4
- data.tar.gz: 8f75bdddc5d7ca7de4d713eef12af510163dea7d
3
+ metadata.gz: 4671d48229c618c5d2aa090a07ce1e1206ab862e
4
+ data.tar.gz: eb22a667d66cf0d24639ed38717cec71e7b6eebf
5
5
  SHA512:
6
- metadata.gz: 51dd1374507f0881ab05dcbf6fbfe1833f76684029c35f63caabff8a47f07dc3d2954ec929dd6536e3759fae1d5bfe20c0a27d28f3fa3c50c6e0f263ac7ef183
7
- data.tar.gz: 419df7155fcc16ebcef349d11936217bbc526275cb4b61381acd4163b27ab96cac1402956e36d8de6ff8ba6e976b2e916af07b793b3fac0e58703076dc0ab6f6
6
+ metadata.gz: 4d974c0d0fc6fd4857f1b63e856290cd7e09fe5fec9c4129f9bfcc5f07bf76f8711126f3825d5493ebc3e824d6c934d3e63cc438f4dce0044151c56d73edbdbc
7
+ data.tar.gz: 7a60df9d46a524fce1c0981f2299405ed7a8a007c83ef306510be36bdca1969fada37bd8b73db044f490e8f319c945935c4b2a0d306e4716ff3984dee44c8233
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Upstreamer
2
2
 
3
- Add `upstream` remote-tracking branch to your forked repository by tracking GitHub upstream.
3
+ Add `upstream` remote-tracking branch to your forked repository by tracking GitHub.
4
4
 
5
5
  ## Usage
6
6
 
@@ -10,9 +10,10 @@ $ cd /path/to/forked-repository
10
10
  $ git remote -v
11
11
  origin https://github.com/your-username/forked-repository.git (fetch)
12
12
  origin https://github.com/your-username/forked-repository.git (push)
13
+
13
14
  $ upstreamer
14
- find upstream...
15
15
  git remote add upstream https://github.com/upstream-username/forked-repository.git
16
+
16
17
  $ git remote -v
17
18
  origin https://github.com/your-username/forked-repository.git (fetch)
18
19
  origin https://github.com/your-username/forked-repository.git (push)
data/bin/upstreamer CHANGED
File without changes
@@ -14,8 +14,8 @@ module Upstreamer
14
14
  end
15
15
 
16
16
  def run
17
- forked_repository_directory = specified_directory || current_directory
18
- repo = Rugged::Repository.new(forked_repository_directory)
17
+ directory = specified_directory || current_directory
18
+ repo = Rugged::Repository.new(directory)
19
19
 
20
20
  if repo.remotes['upstream']
21
21
  puts "Error: Remote 'upstream' already exists. (#{repo.remotes['upstream'].url})"
@@ -1,3 +1,3 @@
1
1
  module Upstreamer
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/upstreamer.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["meganemura"]
10
10
  spec.email = ["mura2megane@gmail.com"]
11
11
 
12
- spec.summary = "Add `upstream` remote-tracking branch to your forked repository by tracking GitHub upstream."
12
+ spec.summary = "Add `upstream` remote-tracking branch to your forked repository by tracking GitHub."
13
13
  spec.description = spec.summary
14
14
  spec.homepage = "https://github.com/meganemura/upstreamer"
15
15
  spec.license = "MIT"
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "octokit"
22
- spec.add_runtime_dependency "rugged"
21
+ spec.add_runtime_dependency "octokit", "~> 3.4"
22
+ spec.add_runtime_dependency "rugged", "~> 0.21"
23
23
  spec.add_development_dependency "bundler", "~> 1.7"
24
24
  spec.add_development_dependency "rake", "~> 10.0"
25
25
  spec.add_development_dependency "pry"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upstreamer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - meganemura
@@ -14,30 +14,30 @@ dependencies:
14
14
  name: octokit
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '3.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '3.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rugged
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.21'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.21'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Add `upstream` remote-tracking branch to your forked repository by tracking
84
- GitHub upstream.
84
+ GitHub.
85
85
  email:
86
86
  - mura2megane@gmail.com
87
87
  executables:
@@ -124,5 +124,5 @@ rubygems_version: 2.2.2
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Add `upstream` remote-tracking branch to your forked repository by tracking
127
- GitHub upstream.
127
+ GitHub.
128
128
  test_files: []