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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85cfb48185d77cfdf34454c470f4d14df0203560
4
- data.tar.gz: 987c0914aac82355669847a655c874dfc9852756
3
+ metadata.gz: 943298c329c6e3796b8831e50e8403212ea0dd4c
4
+ data.tar.gz: a0a820abd2f289162d7431fb0fa1da7abe215a3f
5
5
  SHA512:
6
- metadata.gz: 8f0e19c6a6f6190b6c039ed82f09c3d4fce3e373bb18c343c965ce53d1f961bee459d2b3e6561dcb2fbe7750bae745fb79d9e153d4749447344fe39bdcda2b0e
7
- data.tar.gz: 99b8e840fe8f9cd86f4faaaa25d38ead9968c8f6de29a69494d101683747872210d4b185928da848824bbb68e1bf1e4e483425e82d4400c61b1add755cbdc80d
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 Stash](https://www.atlassian.com/software/stash).
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 stash, define profile(s) and specify it.
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
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
9
+ require "pry"
10
+ Pry.start
data/lib/sah/cli.rb CHANGED
@@ -13,7 +13,6 @@ module Sah
13
13
  type: :boolean, default: false,
14
14
  desc: "Turn on/off verbose mode"
15
15
 
16
- ############### browse ###################
17
16
  desc "browse [REPO]", "Browse repository"
18
17
  long_desc <<-LONG_DESCRIPTION
19
18
  sah browse
data/lib/sah/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sah
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
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 atlassian stash"
13
- spec.description = "Sah is command line util for Atlassian Stash."
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.5
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-09-16 00:00:00.000000000 Z
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: '0'
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: '0'
153
- description: Sah is command line util for Atlassian Stash.
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.1
210
+ rubygems_version: 2.4.5
197
211
  signing_key:
198
212
  specification_version: 4
199
- summary: Command line util for atlassian stash
213
+ summary: Command line util for Atlassian Bitbucket Server
200
214
  test_files: []
215
+ has_rdoc: