polygallery 0.2.4 → 0.2.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 498466889ad29ec6561646661ebb6034617ccfd8
|
4
|
+
data.tar.gz: 35afdcbab075aae765308ce535853bff92f708c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff943059206c15033fda40513179917e33b5c60a2bb25442792f93a581576248bc8b271d0f693279c28f180f2e9b05fee8bb98cb02dd4561a7c8dabc3aac72ea
|
7
|
+
data.tar.gz: 858c812e8c2103186deac49fe8165f9d552a0d0d7c74e4c3805e74bb83b73cec678f2e041c66ec833a4c828e45d6c9f72e4a3ba1c2e2352de5e8da9536085623
|
@@ -0,0 +1,13 @@
|
|
1
|
+
MFaker = defined?(Faker) ? Faker : FFaker
|
2
|
+
|
3
|
+
FactoryGirl.define do
|
4
|
+
factory :polygallery_gallery, :class => Polygallery::Gallery do
|
5
|
+
|
6
|
+
trait :with_photos do
|
7
|
+
after(:create) do |gallery|
|
8
|
+
create :polygallery_photo, :gallery => gallery
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
end
|
data/lib/polygallery/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polygallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MacKinley Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -306,6 +306,8 @@ files:
|
|
306
306
|
- lib/generators/polygallery/install/templates/polygallery_migration.rb
|
307
307
|
- lib/polygallery.rb
|
308
308
|
- lib/polygallery/engine.rb
|
309
|
+
- lib/polygallery/factories/polygallery/galleries.rb
|
310
|
+
- lib/polygallery/factories/polygallery/photos.rb
|
309
311
|
- lib/polygallery/glue.rb
|
310
312
|
- lib/polygallery/has_polygallery.rb
|
311
313
|
- lib/polygallery/has_polyphotos.rb
|