ugc 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62fd96ec45f90ca1750c59ee45fc0b74c7eaa2c0
4
- data.tar.gz: 646f5efc53d15729d7d3eb69a7bae4d0d89a54a3
3
+ metadata.gz: de5f3e9cfb59b53bbec64d408176b97b4e0f62ce
4
+ data.tar.gz: 68ee0cc98343e6ff79e60bfa12fa63bb7ed3d8ba
5
5
  SHA512:
6
- metadata.gz: 84decc28a7bbac07174f2fb0cec3ef8d59d511f9e81123a1a03054d58bd1e6b324b7e3b616483e607dea23cfe41a544203c5cc50025ea559946026137e22139a
7
- data.tar.gz: 7d6ac3c0ecc81bd9080a60e7aa9c2d791eee2cdbb3c74d02689d5e5232da8014a717f3d01d64ce8f665c4d43870618b82275c7ec36240e1a5f7d3102d4650220
6
+ metadata.gz: 3c0d7f44181589679feef0ad6541a70610ab69c90aa30b1a3d7ea8c781989fdbb7c8d8d55e3c8c14df4737af6e50e68720b8a824e5422f07e4c2ac4602c76157
7
+ data.tar.gz: cdf9ec47d8d167a06e114565701e1557a8f0ddd504576670c63c1e157d83ad870883c4c485f1223046365bf4baf70c807c0c9bd30957e4b7016cf701485b4a1f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ugc (0.9.4)
4
+ ugc (0.9.5)
5
5
  command_line_reporter
6
6
  gli
7
7
  highline
@@ -33,7 +33,7 @@ GEM
33
33
  highline (1.6.19)
34
34
  json (1.8.0)
35
35
  mime-types (1.23)
36
- multi_json (1.7.5)
36
+ multi_json (1.7.6)
37
37
  rake (10.0.4)
38
38
  rdoc (4.0.1)
39
39
  json (~> 1.4)
data/README.md CHANGED
@@ -178,6 +178,10 @@ If you specify column names in your query, you will be unable to reference the r
178
178
 
179
179
  ## Release notes
180
180
 
181
+ ### 0.9.5
182
+ * Bug Fixes
183
+ 1. Allow for complex matrixed queries including spaces
184
+
181
185
  ### 0.9.4
182
186
  * New features
183
187
  1. Emit curl equivalent commands with -c (--curl) switch
@@ -23,7 +23,7 @@ module Ugc
23
23
 
24
24
  def [](uri)
25
25
  uri = perform_substitutions uri
26
- if URI.parse(uri).host
26
+ if (URI.parse(uri).host rescue nil)
27
27
  Usergrid::Resource.new(uri, nil, $application.options) # absolute
28
28
  else
29
29
  super # relative
@@ -17,5 +17,5 @@ def puts_curl(command, resource, payload=nil, file=nil)
17
17
  else
18
18
  curl = %Q[#{curl} -d '#{payload}'] if (payload)
19
19
  end
20
- puts "#{curl} #{resource.url}"
20
+ puts "#{curl} '#{resource.url}'"
21
21
  end
data/lib/ugc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ugc
2
- VERSION = '0.9.4'
2
+ VERSION = '0.9.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ugc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Ganyo