brown_noser 0.2.2 → 0.2.3

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: 8f9e252bae7efd146ba761cb68d6bfeea8db22c3
4
- data.tar.gz: 50ee3e123eed67dc5970bef134cc97d6d0c1af62
3
+ metadata.gz: 5107f484688a29ce4daf65cbe69751771222de23
4
+ data.tar.gz: 9eeb4f1170ca7165bae20c77523de2fcdd5f195b
5
5
  SHA512:
6
- metadata.gz: c993a030629e3361f042e7e9d5628a7096b1188e52502c0378f50a7af614063565d2975ad9e42349c4bd7523a1518afd3cad48317d5070a41a269f728d8bd230
7
- data.tar.gz: 45f4a0c2377d58ec0730fecae5730e3895f086481c86fde6d49dcb3f3781b0bd2f506694d6b90af4b7f42067b775b5b1590ac885a0ae1e9102ddfc9076787e5f
6
+ metadata.gz: 25706ee327dfa5b98456f94cc1bb8607bcad3f155ca5a6cedfbc7401bf8b679047bff657c16694cc8c6afc755623cc5dd4d17bd504ba9ddb3d4c794b9e699108
7
+ data.tar.gz: 649002702e0543b16fd9d3929c519eeaea9f699971e32219159d93c3d6e7560b36a9f2aa6956338ea1ac34bdd4d44e4e257827ddbc455ab11b00ef34719c3456
@@ -1,3 +1,3 @@
1
1
  module BrownNoser
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
data/lib/brown_noser.rb CHANGED
@@ -14,13 +14,10 @@ class BrownNoser
14
14
  OptionParser.new do |opts|
15
15
  opts.banner = "Usage: pet <USER> <REPO> [options]"
16
16
 
17
- @options[:moss_lang] = 'cc'
18
-
19
17
  opts.on('-s', '--sync', 'Sync') { |v| @options[:sync_flag] = true }
20
18
  opts.on('-f', '--find QUERY', 'Find') { |v| @options[:query] = v }
21
19
  opts.on('-u', '--username USER', 'Github User') { |v| @options[:username] = v }
22
20
  opts.on('-p', '--password PASS', 'Github Pass') { |v| @options[:password] = v }
23
- opts.on('-l', '--lang PROJECT_LANG', 'Source Language') { |v| @options[:moss_lang] }
24
21
  opts.on('-c', '--cheat MOSSID', 'Moss Userid') { |v| @options[:moss_id] = v }
25
22
 
26
23
  end.parse!
@@ -31,7 +31,7 @@ private
31
31
  end
32
32
 
33
33
  def git_checkout_new(user, branch)
34
- ->(){ "git checkout -B #{user}/#{branch} master" }
34
+ ->(){ "git checkout -fB #{user}/#{branch} master" }
35
35
  end
36
36
 
37
37
  def git_pull(repo_url, branch)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brown_noser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Scarrone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-09 00:00:00.000000000 Z
11
+ date: 2016-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler