fast_github 0.0.3 → 0.0.4

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: 1f174197a8dfb99d6e6d8e3684e07a414ac2d9d4
4
- data.tar.gz: 0686458e0b9a586b32247482f2e7dd3f76d5db68
3
+ metadata.gz: 90b8476386aee5048ab44bb06b8b42ce2cbdd526
4
+ data.tar.gz: 47a9cd4193c4f4187023329eaba21808632e467e
5
5
  SHA512:
6
- metadata.gz: fec99bbb8209cba289dd9009f5f80e94b1cce31e8d3797af75ba36d91928e994b45c0da6e423f5cb3a098a59980003b13f635fd2902256d8ac38c7c0eaec06f3
7
- data.tar.gz: 1a2fd197526d866f8997c4842d547af9e63a2da939e5f381b3722974dba74f7386e1738bda3e252524867149a2dabab04f1f448947c616944fa641bc8264d692
6
+ metadata.gz: 21fd8633e7dc223794a86e86352ac6964c78b0fed7541d2d55cca16913cd1c804e12f946111ace8a97a1ec6d14c59bdee4d8ece857cbf11f0fbb05c37de23f2b
7
+ data.tar.gz: c415c4a75929aadda0b1c0d7a1b9ddb07b3f6557482fdff0d6d16ac019216aa9d0f27973034ad935990b27c5b2b4d2a2c753340f2ba450d33e4594d01604119c
data/LICENSE ADDED
@@ -0,0 +1,27 @@
1
+ Copyright (c) 2014, Joel Byron Smith
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ * Neither the name of Trosic nor the names of its
15
+ contributors may be used to endorse or promote products derived from
16
+ this software without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md CHANGED
@@ -1,28 +1,48 @@
1
- # FastGithub
1
+ # Fast Github
2
+ Upload your projects to Github in a snap!
2
3
 
3
- TODO: Write a gem description
4
+ Start a new project, run Fast Github and go. That's all there is to it.
4
5
 
5
6
  ## Installation
7
+ **Fast Github is for OSX and Linux/Unix only**
6
8
 
7
- Add this line to your application's Gemfile:
9
+ Make sure you have Ruby installed on your system:
10
+ ```
11
+ ruby --version
12
+ ```
8
13
 
9
- gem 'fast_github'
14
+ Install the Fast Github gem globally so it can be ran anywhere:
10
15
 
11
- And then execute:
12
-
13
- $ bundle
16
+ $ gem install fast_github
14
17
 
15
- Or install it yourself as:
18
+ Make sure you have done the following before you upload a repo:
16
19
 
17
- $ gem install fast_github
20
+ * [Install Git](http://git-scm.com/book/en/Getting-Started-Installing-Git)
21
+ * [Add SSH Key to Github](https://help.github.com/articles/generating-ssh-keys)
18
22
 
19
23
  ## Usage
20
24
 
21
- TODO: Write usage instructions here
25
+ Change directories into the directory you wish to upload to Github
26
+
27
+ ```
28
+ cd ~/myproject
29
+ ```
30
+
31
+ Run the Fast Github binary from inside the directory
32
+
33
+ ```
34
+ $ fast_github
35
+ ```
36
+
37
+ It will prompt you for your github credentials and authenticate via Github API v3 OAuth. You will only have to sign in once.
38
+
39
+ Next it will ask you for a name for your new Github repo and confirm the folder you wish to upload is correct.
40
+
41
+ That's it! You're done.
22
42
 
23
43
  ## Contributing
24
44
 
25
- 1. Fork it ( http://github.com/<my-github-username>/fast_github/fork )
45
+ 1. Fork it ( http://github.com/jbsmith86/fast_github/fork )
26
46
  2. Create your feature branch (`git checkout -b my-new-feature`)
27
47
  3. Commit your changes (`git commit -am 'Add some feature'`)
28
48
  4. Push to the branch (`git push origin my-new-feature`)
data/fast_github.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["joel@trosic.com"]
11
11
  spec.summary = "Fast Github does the initial setup of a new Github repo for you."
12
12
  spec.description = "Upload your projects to Github in a snap! Start a new project, run Fast Github and go. That's all there is to it."
13
- spec.homepage = "http://rubygems.org/gems/fast_github"
13
+ spec.homepage = "http://www.github.com/jbsmith86/fast_github"
14
14
  spec.license = "BSD-3-Clause-Clear"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
data/lib/fast_github.rb CHANGED
@@ -81,7 +81,7 @@ module FastGithub
81
81
  Dir.chdir @directory
82
82
  puts `git init`
83
83
  puts `git add -A .`
84
- puts `git commit -m "Initial commit"`
84
+ puts `git commit -a -m "Initial commit"`
85
85
  end
86
86
  end
87
87
 
@@ -1,3 +1,3 @@
1
1
  module FastGithub
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_github
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Smith
@@ -49,14 +49,14 @@ extra_rdoc_files: []
49
49
  files:
50
50
  - ".gitignore"
51
51
  - Gemfile
52
- - LICENSE.txt
52
+ - LICENSE
53
53
  - README.md
54
54
  - Rakefile
55
55
  - bin/fast_github
56
56
  - fast_github.gemspec
57
57
  - lib/fast_github.rb
58
58
  - lib/fast_github/version.rb
59
- homepage: http://rubygems.org/gems/fast_github
59
+ homepage: http://www.github.com/jbsmith86/fast_github
60
60
  licenses:
61
61
  - BSD-3-Clause-Clear
62
62
  metadata: {}
data/LICENSE.txt DELETED
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Joel Smith
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.