cmor_blog 0.0.45.pre → 0.0.48.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: 97a7d0f0313e974c46029c6a8007a232efe65b7ccb0e7887db726f7a06f8ad0d
4
- data.tar.gz: 21da5ddbe8126eb3ca1001dc0facce11c34fac5571031db3e86fa3d13bef0313
3
+ metadata.gz: f21581f45ebab3969eb7bc0a02e6aaa21cb26be8cc05b837138ca0995cef7619
4
+ data.tar.gz: 813d282f544b04c85c9010d5a30a503d74bfa7bce34bd4637aba7fc6bc6a14d7
5
5
  SHA512:
6
- metadata.gz: bffa2904af71c91cd81e4454b677a805f0c44286ef1f28aaca6427c226d5d71027ad9cd3d009dbab8a801c4d762af7b4eba7b8e97832603888533a51411a19e7
7
- data.tar.gz: 494486d7f401a088a73aa5ecb88fa01a6ca9135aefd672d222e6a9553afcc2db91b8b3d69f3977b0c760aeef7d4c0e2efcdb476450be36c811c525ccd7573195
6
+ metadata.gz: a3872c966d01eb3b4fe6ce7284d36cd688daaab879a808a101b74c2daea508e0a6985ddf0f36bb605c39f57fbfbe0d304fff00cd883e8fe01ea86eeb1095ae0f
7
+ data.tar.gz: ccba4145bd6bdbdb7534e042433827c3a29abf879f9cc44bc4c92dd2fad4475b1266c1c8e8fe5bbcbd24076e06c21da769a28dfdf19ffdd587270990395cde73
@@ -3,7 +3,7 @@ FactoryBot.define do
3
3
  association(:post, factory: :cmor_blog_post)
4
4
  after(:build) { |resource|
5
5
  assets = resource.post.assets.attach(
6
- io: File.open(File.join(Cmor::Blog::Engine.root.join(*%w( spec files cmor blog asset example.jpg)))),
6
+ io: File.open(File.join(Cmor::Blog::Engine.root.join(*%w( spec files cmor blog post asset example.jpg)))),
7
7
  filename: 'example.jpg',
8
8
  content_type: 'image/jpeg'
9
9
  )
@@ -10,8 +10,8 @@ RSpec.describe Cmor::Blog::Post, type: :model do
10
10
 
11
11
  describe '#assets' do
12
12
  let(:assets) {[
13
- { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog asset example.jpg))), filename: 'example.jpg'},
14
- { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog asset example.jpg))), filename: 'example.jpg'}
13
+ { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog post asset example.jpg))), filename: 'example.jpg'},
14
+ { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog post asset example.jpg))), filename: 'example.jpg'}
15
15
  ]}
16
16
 
17
17
  subject { build(:cmor_blog_post) }
@@ -24,12 +24,12 @@ RSpec.describe Cmor::Blog::Post, type: :model do
24
24
 
25
25
  describe '#appending assets' do
26
26
  let(:original_assets) {[
27
- { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog asset example.jpg))), filename: 'example.jpg'},
28
- { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog asset example.jpg))), filename: 'example.jpg'}
27
+ { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog post asset example.jpg))), filename: 'example.jpg'},
28
+ { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog post asset example.jpg))), filename: 'example.jpg'}
29
29
  ]}
30
30
 
31
31
  let(:new_assets) {[
32
- { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog asset example.jpg))), filename: 'example.jpg'}
32
+ { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog post asset example.jpg))), filename: 'example.jpg'}
33
33
  ]}
34
34
 
35
35
  subject { build(:cmor_blog_post, assets: original_assets) }
@@ -42,12 +42,12 @@ RSpec.describe Cmor::Blog::Post, type: :model do
42
42
 
43
43
  describe '#overwriting assets' do
44
44
  let(:original_assets) {[
45
- { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog asset example.jpg))), filename: 'example.jpg'},
46
- { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog asset example.jpg))), filename: 'example.jpg'}
45
+ { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog post asset example.jpg))), filename: 'example.jpg'},
46
+ { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog post asset example.jpg))), filename: 'example.jpg'}
47
47
  ]}
48
48
 
49
49
  let(:new_assets) {[
50
- { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog asset example.jpg))), filename: 'example.jpg'}
50
+ { io: File.open(Cmor::Blog::Engine.root.join(*%w(spec files cmor blog post asset example.jpg))), filename: 'example.jpg'}
51
51
  ]}
52
52
 
53
53
  subject { build(:cmor_blog_post, assets: original_assets) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.45.pre
4
+ version: 0.0.48.pre
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: 2020-03-01 00:00:00.000000000 Z
11
+ date: 2020-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.45.pre
33
+ version: 0.0.48.pre
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.45.pre
40
+ version: 0.0.48.pre
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cmor_core_frontend
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.45.pre
47
+ version: 0.0.48.pre
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.45.pre
54
+ version: 0.0.48.pre
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -734,7 +734,7 @@ files:
734
734
  - spec/factories/cmor_blog_asset_details.rb
735
735
  - spec/factories/cmor_blog_posts.rb
736
736
  - spec/features/de/blog/posts_feature_spec.rb
737
- - spec/files/cmor/blog/asset/example.jpg
737
+ - spec/files/cmor/blog/post/asset/example.jpg
738
738
  - spec/models/cmor/blog/post_spec.rb
739
739
  - spec/models/generic_spec.rb
740
740
  - spec/models/i18n_spec.rb