cmor_testimonials 0.0.52.pre → 0.0.53.pre

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
  SHA256:
3
- metadata.gz: 5cddb96d45900c1d7897d9cd48f23f4c0753044282ee4b2573f2ae6c28ff2044
4
- data.tar.gz: 8ec16b7d9b83e2f27ca3ab6436d121149c1c2248a346d9df21280b2c69fd45e9
3
+ metadata.gz: '0346809cf70a034f23bd64c67e11c31d8f67e2cf43909344ceb7d7927531db56'
4
+ data.tar.gz: c4b23bff3182333d85707c168e664dcd12e0319a1dd7b425a911ad788f2379cf
5
5
  SHA512:
6
- metadata.gz: 9dc0abdbcb5ac487adfc09988f6b642f7bd255d73176b1541327cedf0692b772b239126945e8419caca7ad66df9a813c0558e8af48ac1dfc51d8fc370598c987
7
- data.tar.gz: a8e6bb0fccba9e80098f436efb7863dcf32f7bb7780945a141930da1c5320e3d13273c447251549aae3bf1ec456655d55dab8542759930778c37a3fc14fded19
6
+ metadata.gz: e4e331c98f20c6f8a789550c2f28888834e99807a7ceec39fbf4100a056403cb6c185ad7ba85b7c9562e40fb01a6859a066936980acf347f90f4ea2fc42c44c3
7
+ data.tar.gz: f461a02ee08e0a8b866d2b903721d6935625c4a2d13d6e2b2cbc00c0e9afb1ceef97255f34c752b6f01287041e9745e15a58a477348b8a3779b857e865e9d612
@@ -0,0 +1,7 @@
1
+ FactoryBot.define do
2
+ factory :cmor_testimonials_category, class: "Cmor::Testimonials::Category" do
3
+ locale { I18n.locale }
4
+ sequence(:identifier) { |i| "category_#{i.to_s}" }
5
+ sequence(:name) { |i| "Category ##{i.to_s}" }
6
+ end
7
+ end
@@ -0,0 +1,17 @@
1
+ FactoryBot.define do
2
+ factory :cmor_testimonials_testimonial, class: "Cmor::Testimonials::Testimonial" do
3
+ association(:category, factory: :cmor_testimonials_category)
4
+ sequence(:fullname) {|n| "John_Doe_#{n}" }
5
+ role { "MyString" }
6
+ company { "MyString" }
7
+ body { "MyText" }
8
+ published_at { 1.hour.ago }
9
+ after(:build) do |resource|
10
+ image = resource.image.attach(
11
+ io: File.open(Cmor::Testimonials::Engine.root.join(*%w( spec files cmor testimonials testimonials homer.png))),
12
+ filename: 'homer.png',
13
+ content_type: 'image/png'
14
+ )
15
+ end
16
+ end
17
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_testimonials
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.52.pre
4
+ version: 0.0.53.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Müller
@@ -31,28 +31,28 @@ dependencies:
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.0.52.pre
34
+ version: 0.0.53.pre
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 0.0.52.pre
41
+ version: 0.0.53.pre
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: cmor_core_frontend
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 0.0.52.pre
48
+ version: 0.0.53.pre
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: 0.0.52.pre
55
+ version: 0.0.53.pre
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: sqlite3
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -438,6 +438,8 @@ files:
438
438
  - lib/cmor_testimonials.rb
439
439
  - lib/generators/cmor/testimonials/install/install_generator.rb
440
440
  - lib/generators/cmor/testimonials/install/templates/initializer.rb
441
+ - spec/factories/cmor/testimonials/categories.rb
442
+ - spec/factories/cmor/testimonials/testimonials.rb
441
443
  - spec/files/cmor/testimonials/testimonials/enerbunny.png
442
444
  - spec/files/cmor/testimonials/testimonials/homer.png
443
445
  homepage: https://github.com/content-management-on-rails