sah 0.0.5 → 0.0.6
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/README.md +7 -4
- data/bin/console +2 -6
- data/lib/sah/cli.rb +0 -1
- data/lib/sah/version.rb +1 -1
- data/sah.gemspec +4 -3
- metadata +24 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 943298c329c6e3796b8831e50e8403212ea0dd4c
|
4
|
+
data.tar.gz: a0a820abd2f289162d7431fb0fa1da7abe215a3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 206ab03675d1edb8cb801a2fa2365dff6face301a1d64043654a19cdc04b25c783011855004566c5a31d190af940ba2141136330c54e9c9dd0a217eea711a623
|
7
|
+
data.tar.gz: 1d0bc24733d03825741cf6cb71a2001228d6ab9ebf3066bc3f31d78321123e9c6565050a2bc3edaf90872b2b3295928199282ef4f153c69f9f969207acf5d7c1
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Sah
|
2
2
|
|
3
|
-
Sah is command line util for [Atlassian
|
3
|
+
Sah is command line util for [Atlassian Bitbucket Server](https://www.atlassian.com/software/bitbucket/server).
|
4
4
|
|
5
5
|
This project was heavily inspired by the [hub](https://hub.github.com/).
|
6
6
|
|
@@ -14,7 +14,7 @@ This project was heavily inspired by the [hub](https://hub.github.com/).
|
|
14
14
|
git config [--global] sah.profile.default.password "freq440@gmail.com"
|
15
15
|
git config [--global] sah.profile.default.url "https://exmaple.com"
|
16
16
|
|
17
|
-
If you use multiple
|
17
|
+
If you use multiple Bitbucket Server, define profile(s) and specify it.
|
18
18
|
|
19
19
|
git config [--global] sah.profile.my_company.user "jane"
|
20
20
|
git config [--global] sah.profile.my_company.password "jane@example.jp"
|
@@ -129,8 +129,6 @@ If you use multiple stash, define profile(s) and specify it.
|
|
129
129
|
- `git config --global sah.config.upstream-prevent-push true`
|
130
130
|
(the same as `--prevent-push` option)
|
131
131
|
Setting this option to true will Prevent push to upstream repository.
|
132
|
-
- `git config --global sah.config.protocol [ssh|http]`
|
133
|
-
Setting this option to specify git protocol. (default: ssh)
|
134
132
|
|
135
133
|
### user
|
136
134
|
|
@@ -145,6 +143,11 @@ If you use multiple stash, define profile(s) and specify it.
|
|
145
143
|
sah version
|
146
144
|
# Display the version of this command
|
147
145
|
|
146
|
+
### Configutration
|
147
|
+
|
148
|
+
- `git config --global sah.config.protocol [ssh|http]`
|
149
|
+
Setting this option to specify git protocol. (default: ssh)
|
150
|
+
|
148
151
|
## Development
|
149
152
|
|
150
153
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Run `bundle exec sah` to use the gem in this directory, ignoring other installed copies of this gem.
|
data/bin/console
CHANGED
@@ -6,9 +6,5 @@ require "sah"
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
9
|
+
require "pry"
|
10
|
+
Pry.start
|
data/lib/sah/cli.rb
CHANGED
data/lib/sah/version.rb
CHANGED
data/sah.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["f440"]
|
10
10
|
spec.email = ["freq440@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = "Command line util for
|
13
|
-
spec.description = "Sah is command line util for Atlassian
|
12
|
+
spec.summary = "Command line util for Atlassian Bitbucket Server"
|
13
|
+
spec.description = "Sah is command line util for Atlassian Bitbucket Server."
|
14
14
|
spec.homepage = "https://github.com/f440/sah"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
@@ -29,5 +29,6 @@ Gem::Specification.new do |spec|
|
|
29
29
|
|
30
30
|
spec.add_development_dependency "bundler", "~> 1.10"
|
31
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
-
spec.add_development_dependency "minitest"
|
32
|
+
spec.add_development_dependency "minitest", "~> 5.8.0"
|
33
|
+
spec.add_development_dependency "pry", "~> 0.10.2"
|
33
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sah
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- f440
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -140,17 +140,31 @@ dependencies:
|
|
140
140
|
name: minitest
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 5.8.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 5.8.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.10.2
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
151
165
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
153
|
-
description: Sah is command line util for Atlassian
|
166
|
+
version: 0.10.2
|
167
|
+
description: Sah is command line util for Atlassian Bitbucket Server.
|
154
168
|
email:
|
155
169
|
- freq440@gmail.com
|
156
170
|
executables:
|
@@ -193,8 +207,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
207
|
version: '0'
|
194
208
|
requirements: []
|
195
209
|
rubyforge_project:
|
196
|
-
rubygems_version: 2.4.5
|
210
|
+
rubygems_version: 2.4.5
|
197
211
|
signing_key:
|
198
212
|
specification_version: 4
|
199
|
-
summary: Command line util for
|
213
|
+
summary: Command line util for Atlassian Bitbucket Server
|
200
214
|
test_files: []
|
215
|
+
has_rdoc:
|