ecm_pictures2 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ecm/pictures/version.rb +1 -1
- data/spec/factories/ecm/pictures/attached_pictures.rb +6 -0
- data/spec/factories/ecm/pictures/picture_galleries.rb +12 -0
- data/spec/factories/ecm/pictures/pictures.rb +5 -0
- data/spec/factories/post.rb +5 -0
- data/spec/files/ecm/pictures/picture/image.jpg +0 -0
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af204c0977456bebc0e452d4eedb22229c8819f0
|
4
|
+
data.tar.gz: 80e31d30783b625693afbafd8cb516ad0fb2cc6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a00e76f0cb9ad23279f92224741dac5ba160033a246ed0b691a1b4ba624de6e3d7d5bdc0ab31955bea7028809900169c40e2f4e79fb652c635ee8f641ecd3256
|
7
|
+
data.tar.gz: a3601fc0dfb3280bfa6e5e572dfc3f769d5c2b44cf2cb4bcd25ba2eb20c829bcfaa03ddebd3a2707b9ab51c2e4541333339bc8f232fe51913fc1fb3524e038cf
|
data/lib/ecm/pictures/version.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :ecm_pictures_picture_gallery, class: Ecm::Pictures::PictureGallery do
|
3
|
+
sequence(:name) { |n| "Picture gallery ##{n}" }
|
4
|
+
|
5
|
+
factory :ecm_pictures_picture_gallery_with_pictures do |picture_gallery|
|
6
|
+
3.times do
|
7
|
+
picture_gallery.after(:create) { |pg| FactoryGirl.create(:ecm_pictures_picture, picture_gallery: pg) }
|
8
|
+
end
|
9
|
+
picture_gallery.pictures_count 3
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_pictures2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -424,6 +424,11 @@ files:
|
|
424
424
|
- lib/generators/ecm/pictures/install/templates/routes.source
|
425
425
|
- lib/generators/ecm/pictures/locales/locales_generator.rb
|
426
426
|
- lib/tasks/ecm_pictures_tasks.rake
|
427
|
+
- spec/factories/ecm/pictures/attached_pictures.rb
|
428
|
+
- spec/factories/ecm/pictures/picture_galleries.rb
|
429
|
+
- spec/factories/ecm/pictures/pictures.rb
|
430
|
+
- spec/factories/post.rb
|
431
|
+
- spec/files/ecm/pictures/picture/image.jpg
|
427
432
|
homepage: https://github.com/robotex82/ecm_pictures
|
428
433
|
licenses: []
|
429
434
|
metadata: {}
|