cmor_testimonials 0.0.52.pre → 0.0.53.pre
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0346809cf70a034f23bd64c67e11c31d8f67e2cf43909344ceb7d7927531db56'
|
|
4
|
+
data.tar.gz: c4b23bff3182333d85707c168e664dcd12e0319a1dd7b425a911ad788f2379cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4e331c98f20c6f8a789550c2f28888834e99807a7ceec39fbf4100a056403cb6c185ad7ba85b7c9562e40fb01a6859a066936980acf347f90f4ea2fc42c44c3
|
|
7
|
+
data.tar.gz: f461a02ee08e0a8b866d2b903721d6935625c4a2d13d6e2b2cbc00c0e9afb1ceef97255f34c752b6f01287041e9745e15a58a477348b8a3779b857e865e9d612
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|