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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93b01de9ec07bd98a69b60b3c1b15ae85a8e3b12
|
4
|
+
data.tar.gz: d25a236871d3d35208e157419b69f25f935a1437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(/=/)
|
data/lib/spectacles/version.rb
CHANGED
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.
|
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-
|
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.
|
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:
|