doublesplat 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bb750e16fd9e1f9ba53a67c3d0be5aab70f1799
4
- data.tar.gz: f7ef8fe92e54629f17c02f69b048dd9a5a8603a9
3
+ metadata.gz: 5cafd20b17f207ac1a4c4b39060502daec8e3499
4
+ data.tar.gz: 08236bc5904d62a16404c04f7a4ca1caf18c2184
5
5
  SHA512:
6
- metadata.gz: 04ce6a1b54173965fac0b776e25a7d36c89eefb95849c581bdb826e024e9ed25f59c26ca03fd55352d89a47a1fbd9ef24693c96765387b92fe9808f51e2f4d72
7
- data.tar.gz: e9ed1219ec0bbc216939373bded43987eada82e543ffd0a3837a0a289e26428cce219cf5dab305ba4af25ee2dbb7a8208ea5795ed8cb614f18cc2abc6e956ab5
6
+ metadata.gz: 238a167fbc1450f76681d5ccd23185090941a5b14f41f6de388a8909148bc9c08ac39ff4c475a91bf186b0277aaf5865a5d5706fbb4573a9134afb1033e831eb
7
+ data.tar.gz: 912794fc17ca161eb190526a08dd805f2879ed90b70242aaa1a3bb2a87743101f3b4e503592270ba5032213b101ab3fa3587bffd9ae9c11932a99913a32e4b2b
@@ -1,4 +1,4 @@
1
1
  module Doublesplat
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  ENDPOINT = "http://api.doublesplat.com:8080"
4
4
  end
data/lib/doublesplat.rb CHANGED
@@ -20,12 +20,7 @@ module Doublesplat
20
20
  end
21
21
 
22
22
  def start_watch phrase
23
- puts Rainbow("Where would you like to save the challenge file?").blue
24
- puts Rainbow("[default: #{`pwd`.strip}/]").blue
25
- puts Rainbow("Press Enter to use default or enter new below").blue
26
- print Rainbow("> ".chomp).blue
27
- new_dir = STDIN.gets.strip
28
- directory = new_dir.chars.empty? ? "#{`pwd`.strip}" : new_dir.strip
23
+ directory = "#{`pwd`.strip}"
29
24
 
30
25
  response = RestClient.get "#{ENDPOINT}/get/#{phrase}"
31
26
  code = Base64.decode64(JSON.parse(response)['base64'])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doublesplat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Mulligan