dvl-color 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 7c2cd87354cf56ced0b0e053b069083e13e35b5b
4
- data.tar.gz: d92487e19d66c3d41846b73e53b694cd51264ca0
3
+ metadata.gz: 69b9176ca47c86860a81b186da564385ea04ffac
4
+ data.tar.gz: 9af92e40c1a6131e474a8a22e962af6133ea9398
5
5
  SHA512:
6
- metadata.gz: b3187e6e01363291bde8e785d10d824024c6ef7b3ec22fbd944ebc7c39dbd902f6f88dd1d34ed53ecdd10ed0973fe6f43db5591837020517d05f3d2f360c32ed
7
- data.tar.gz: dc36d86106c02bcb7095029241d651fb640f67ebed9c9362d13d5c3e858f071388fcd3d8df76c2406f787045f013a0c18b6e20b4a9077cb7e3944446b80a3233
6
+ metadata.gz: dca410a5b02e127d121bf68c73bb2a4a68ed00b6e14bd356c33c063298f9b6d0df389fb25b4a47d878b8f7a0702b0af9df05e614e7741702ba59f945e06f4486
7
+ data.tar.gz: 81da214d35e9611a825ba5c20a80abc82849af841e743f9a7c09d13ef164cf97b12e4458d20fb077bb10121e9008be1b619d46c84ebb8d2810cec2be4eea9096
@@ -1,5 +1,5 @@
1
1
  module Dvl
2
2
  module Color
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
  end
5
5
  end
data/lib/dvl/color.rb CHANGED
@@ -3,3 +3,8 @@ require 'chroma_wcag_contrast'
3
3
 
4
4
  require 'dvl/color/fake_rgba'
5
5
  require 'dvl/color/generator'
6
+
7
+ module Dvl
8
+ module Color
9
+ end
10
+ end
data/script/deploy CHANGED
@@ -7,10 +7,15 @@ set -e
7
7
  exit 1
8
8
  }
9
9
 
10
- init_branch=`git rev-parse --abbrev-ref HEAD`
11
- git branch -D gh-pages
10
+ # Delete existing gh-pages branch
11
+ if [ `git branch --list gh-pages `]
12
+ then
13
+ git branch -D gh-pages
14
+ fi
15
+
12
16
  git checkout -b gh-pages
13
17
  rake generate_preview
18
+ git add .
14
19
  git commit -am 'deploy preview'
15
20
  git push origin gh-pages --force
16
- git checkout $init_branch
21
+ git checkout master
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvl-color
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker