easy-auto 0.1.0 → 0.1.1
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/bin/create-branch +2 -2
- data/lib/easy_auto/easy_setup.rb +1 -0
- data/lib/easy_auto/version.rb +1 -1
- data/test/lib/easy_auto/create_branch_test.rb +0 -8
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be9a417bed8d6dd4cbfb267726053abaa78a32bd
|
|
4
|
+
data.tar.gz: 3e35062f83f88fa1baed26cebc3d3343eff628a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da1a925c02ac7c2833a9693a26c344ef8e01650891167c883423dc984911624be7c9766ed233f65761e2635fb53997a7098198a0fc6c70d7b2ec2fc1a7bf7162
|
|
7
|
+
data.tar.gz: 3a58bc900cef5f77632f0d09d5128adc31010890a478074b1b8bf5d7324eabe6802200cc3996a610052e99924d4e3ece2fb3a84ce43edb5898da44cb90adb8eb
|
data/bin/create-branch
CHANGED
data/lib/easy_auto/easy_setup.rb
CHANGED
|
@@ -25,6 +25,7 @@ module EasyAuto
|
|
|
25
25
|
Octokit::Client.new(login: config_manager.github_email, access_token: config_manager.github_token).user
|
|
26
26
|
rescue Faraday::Error::ConnectionFailed => e
|
|
27
27
|
p e
|
|
28
|
+
p "It appears you had an SSL error. Read http://mislav.uniqpath.com/2013/07/ruby-openssl/ to fix it."
|
|
28
29
|
rescue
|
|
29
30
|
puts "make sure you have octokit installed and have run easy-authorize!"
|
|
30
31
|
system_exit
|
data/lib/easy_auto/version.rb
CHANGED
|
@@ -42,19 +42,11 @@ describe EasyAuto::CreateBranch do
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
describe 'command line invocation' do
|
|
45
|
-
# add webmock to stop network io
|
|
46
|
-
# do stuff with ARGV in create-branch bin script
|
|
47
|
-
# get up the nerve to dm bernhardt on twitter to pair with you
|
|
48
45
|
|
|
49
46
|
it 'should return usage when invoked without arguments' do
|
|
50
47
|
-> { CBMock.new(nil, nil).run }.must_output "usage: create-branch <new-branch> <OPTIONAL: branch-to-track>.\n"
|
|
51
48
|
end
|
|
52
49
|
|
|
53
|
-
# it 'should return usage when invoked with too many arguments' do
|
|
54
|
-
# subject = CBMock.new 'arg', 'too', 'many'
|
|
55
|
-
# -> { subject.run }.must_output "usage: create-branch <new-branch> <OPTIONAL: branch-to-track>.\n"
|
|
56
|
-
# end
|
|
57
|
-
|
|
58
50
|
it 'should return usage when invoked with -h' do
|
|
59
51
|
subject = CBMock.new '-h'
|
|
60
52
|
-> { subject.run }.must_output "usage: create-branch <new-branch> <OPTIONAL: branch-to-track>.\n"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easy-auto
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stuart Nelson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-10-
|
|
11
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|