art_css 1.0.0 → 1.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/art_css.rb +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f037c355ddc3bd3d8d83c43fc385186c78ae37b
4
- data.tar.gz: 21d547eecb9476d584e74b4579d33e3bab9a5d52
3
+ metadata.gz: 5be5dd1de86caa3def5adaa5166995830ac03f80
4
+ data.tar.gz: c48748841e19f9c430e3fd8699a8229b52f70bff
5
5
  SHA512:
6
- metadata.gz: 01adcf376bc525757c221cf7179a95b85fbe732d5b13785648c613b29b2841cc3d4df3b87f3c09c89064866c8f553676e70723ab554b108e7acd67e22f2c6e9b
7
- data.tar.gz: 40dc51770abd0586d10a6b0bce1c300eb97fae6fc8d463b2dace5d48a34c8e0b992a3f8cb7055e554d154f173e37a092d37e83920bff1ccd869d1bb36f6c060d
6
+ metadata.gz: 6f5f40ea9087def3eb594d66b0e9680743787a4c9c02887582fd173ef66dba60d5a1fd385cc584129b9adf193e6b83bb1d169b58afbd02c203bbf49304912028
7
+ data.tar.gz: 7820932fa89f9b52f031d4d62385b8b12769191389f0f1713774df9aaa43222bb4250ed214a859b95018e2b92303a37e4a8e715470875ada01af8ebcf2c5e74b
@@ -17,7 +17,7 @@ def write_css(output_path, css_code)
17
17
  end
18
18
  end
19
19
 
20
- def write_fullscreen_background_no_repeat_css(input_path, section, output_path)
20
+ def write_fullscreen_background_no_repeat_css(input_path, section = "body", output_path)
21
21
  css_code = "#{section} {
22
22
  background-image: url('#{input_path}');
23
23
  background-repeat:no-repeat;
@@ -27,7 +27,7 @@ def write_fullscreen_background_no_repeat_css(input_path, section, output_path)
27
27
  write_css(output_path, css_code)
28
28
  end
29
29
 
30
- def write_background_with_two_images_css(input_path1, input_path2, section, output_path)
30
+ def write_background_with_two_images_css(input_path1, input_path2, section = "body", output_path)
31
31
  css_code = "#{section} {
32
32
  background-image: url('#{input_path1}'), url('#{input_path2}');
33
33
  }"
@@ -35,7 +35,7 @@ def write_background_with_two_images_css(input_path1, input_path2, section, outp
35
35
  write_css(output_path, css_code)
36
36
  end
37
37
 
38
- def write_background_with_three_images_css(input_path1, input_path2, input_path3, section, output_path)
38
+ def write_background_with_three_images_css(input_path1, input_path2, input_path3, section = "body", output_path)
39
39
  css_code = "#{section} {
40
40
  background-image: url('#{input_path1}'), url('#{input_path2}'), url('#{input_path3}');
41
41
  }"
@@ -43,7 +43,7 @@ def write_background_with_three_images_css(input_path1, input_path2, input_path3
43
43
  write_css(output_path, css_code)
44
44
  end
45
45
 
46
- def write_background_with_four_images_css(input_path1, input_path2, input_path3, input_path4, section, output_path)
46
+ def write_background_with_four_images_css(input_path1, input_path2, input_path3, input_path4, section = "body", output_path)
47
47
  css_code = "#{section} {
48
48
  background-image: url('#{input_path1}'), url('#{input_path2}'), url('#{input_path3}'), url('#{input_path4}');
49
49
  }"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: art_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ralph Desir
@@ -31,7 +31,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: 1.9.3
35
35
  required_rubygems_version: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="