blacklight-spotlight 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spotlight/version.rb +1 -1
- data/spec/factories/contacts.rb +1 -1
- data/spec/factories/featured_images.rb +2 -2
- data/spec/factories/resources.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fda223f9dfa6a6776e95f2ee9cca7a7848c32af
|
4
|
+
data.tar.gz: fa0e94ecb2ef6d20be13860246861cb9c7083054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84e4e3b37e07dbb3a37c0642a5839641bc508edad850e9340bdc255cfd80e7d76ad8345704305626cf49054970c3f1282d34ad2aa0872f01a1a71237b295d655
|
7
|
+
data.tar.gz: 9dce25bed97cd0ac824711dc49e2b9fae1c2d94e548d78439f34b014c1ade41675a0925bc9418b1b03b99b16f01e76f801c085f992e814268287df2c62543732
|
data/lib/spotlight/version.rb
CHANGED
data/spec/factories/contacts.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
FactoryGirl.define do
|
2
2
|
factory :contact, class: Spotlight::Contact do
|
3
3
|
exhibit
|
4
|
-
avatar { Rack::Test::UploadedFile.new(File.join(
|
4
|
+
avatar { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'avatar.png'), __dir__)) }
|
5
5
|
end
|
6
6
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
FactoryGirl.define do
|
2
2
|
factory :featured_image, class: Spotlight::FeaturedImage do
|
3
|
-
image { Rack::Test::UploadedFile.new(File.join(
|
3
|
+
image { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'avatar.png'), __dir__)) }
|
4
4
|
end
|
5
5
|
|
6
6
|
factory :masthead, class: Spotlight::Masthead do
|
7
|
-
image { Rack::Test::UploadedFile.new(File.join(
|
7
|
+
image { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'avatar.png'), __dir__)) }
|
8
8
|
end
|
9
9
|
end
|
data/spec/factories/resources.rb
CHANGED
@@ -6,6 +6,6 @@ FactoryGirl.define do
|
|
6
6
|
end
|
7
7
|
factory :uploaded_resource, class: Spotlight::Resources::Upload, parent: :resource do
|
8
8
|
type 'Spotlight::Resources::Upload'
|
9
|
-
url { Rack::Test::UploadedFile.new(File.join(
|
9
|
+
url { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'avatar.png'), __dir__)) }
|
10
10
|
end
|
11
11
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight-spotlight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-11-
|
14
|
+
date: 2015-11-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|