spectacles 1.0.0 → 1.0.1

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: e7e7045b1b35b15bf40def12928244509e55b708
4
- data.tar.gz: 6b2ddd076d9ef8b34ba7d9da13a3f090366b23c4
3
+ metadata.gz: 93b01de9ec07bd98a69b60b3c1b15ae85a8e3b12
4
+ data.tar.gz: d25a236871d3d35208e157419b69f25f935a1437
5
5
  SHA512:
6
- metadata.gz: 5601559ad5b5f928b6ef91f01df5296ef9969561feb4e2aad11c79fc112a3d5961e9fb0d4f0cf4688bc1f4488eb14fd2042e30d0114fda7320f257ff4004b00d
7
- data.tar.gz: a47a95fae8d26bf30e6b37a5218557eee8e0f825dc54ab57f6da63d20a274df145a29bd24e3f5ba462c066eea34200909b6318ac3bf840296410ca89cc52eb95
6
+ metadata.gz: 315b5606b2b1fb645b81846c4e3a49e8a018b9cfef29593094272636e7a31667e6a45121bc970952acbbd3c1f28197a05ab49dfebc166c3492cff2502b5a8401
7
+ data.tar.gz: aef7db4bcfdd525337c5744f1d45962eff3edd691cd281157ddc87e432f03adffcc420a61a585732b776aa79f5053a13fb2b007a8b681bf56f872882803ec1e4
@@ -134,6 +134,10 @@ module Spectacles
134
134
  end
135
135
 
136
136
  def parse_storage_definition(storage)
137
+ # JRuby 9000 returns storage as an Array, whereas
138
+ # MRI returns a string.
139
+ storage = storage.first if storage.is_a?(Array)
140
+
137
141
  storage = storage.gsub(/^{|}$/, "")
138
142
  storage.split(/,/).inject({}) do |hash, item|
139
143
  key, value = item.strip.split(/=/)
@@ -1,3 +1,3 @@
1
1
  module Spectacles
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spectacles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hutchison, Brandon Dewitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-28 00:00:00.000000000 Z
11
+ date: 2015-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -126,10 +126,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.4.5
129
+ rubygems_version: 2.4.8
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Spectacles (derived from RailsSQLViews) adds database view functionality
133
133
  to ActiveRecord.
134
134
  test_files: []
135
- has_rdoc: