cmor_testimonials 0.0.52.pre → 0.0.57.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: 905ae75664692d6478dc0ed1d87f652eb58657c99cd71c9721cfb53ae11c7bee
4
+ data.tar.gz: bcf9507047e11baa450fcfadeb2d7824f0b44365f267c8bce88d674d2ec3a146
5
5
  SHA512:
6
- metadata.gz: 9dc0abdbcb5ac487adfc09988f6b642f7bd255d73176b1541327cedf0692b772b239126945e8419caca7ad66df9a813c0558e8af48ac1dfc51d8fc370598c987
7
- data.tar.gz: a8e6bb0fccba9e80098f436efb7863dcf32f7bb7780945a141930da1c5320e3d13273c447251549aae3bf1ec456655d55dab8542759930778c37a3fc14fded19
6
+ metadata.gz: e766925fe1aebe874f882655b62f8a08a563db73e3e9bf06b603900ae6dfce484efd85f00de77f87de9f5395b6f89364b878269b922070e0277e4d5650ee78f7
7
+ data.tar.gz: bc9e9a06e4d7798d09252e1f82e1f8ddc92bab22838919083c5e46a4536b4c90b98c508e9267bc648d434474177eab1071ad3d81ab8bcec7737ecf7777139769
@@ -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.57.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Müller
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-03-26 00:00:00.000000000 Z
12
+ date: 2020-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -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.57.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.57.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.57.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.57.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
@@ -459,7 +461,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
459
461
  - !ruby/object:Gem::Version
460
462
  version: 1.3.1
461
463
  requirements: []
462
- rubygems_version: 3.1.2
464
+ rubygems_version: 3.1.4
463
465
  signing_key:
464
466
  specification_version: 4
465
467
  summary: CMOR Testimonials Module.