lib/githubrepo.rb in githubrepo-0.2.0 vs lib/githubrepo.rb in githubrepo-0.2.2

- old
+ new

@@ -27,14 +27,12 @@ :username => attributes[:username], :password => attributes[:password] }, :body => { - 'name' => attributes[:repository] - - # feature coming at a future date - #'description' => description + 'name' => attributes[:repository], + 'description' => attributes[:description] }.to_json ) Githubrepo.parse_response_from(post) end @@ -66,9 +64,11 @@ elsif OS.linux? puts clone_url Clipboard.copy clone_url puts "If xclip is installed, repository URL has been added to your clipboard." puts "debian/ubuntu: apt-get install xclip" + + # Add windows support in the future # elsif OS.windows? # Clipboard.copy clone_url # # Will Clipboard output clone_url to console if ffi is not installed? # # Below is what it looks like when Clipboard requirements are met # # https://github.com/user/*.git --- COPIED TO CLIPBOARD