compass_sumo 0.5.1 → 0.6.1

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: ae41ec0b773817147e2c1396935fd88aafc6e833
4
- data.tar.gz: b4d1a2bedfdf095e27b0ad2844b1db6025387a6f
3
+ metadata.gz: 0ad37948acd9fb824d538aab1f4f111651d21b1d
4
+ data.tar.gz: 5688883266fc467b37b62ddf6b548ca6bca9d18d
5
5
  SHA512:
6
- metadata.gz: 904db0c5d45c783a999c27e21a0c15f92efe9f4913782a96a09b7ee7f44a0103fc7886dd38a68a9cabc0a71e82035e328c19ecf0b0472df783717399ffcdc2f9
7
- data.tar.gz: 11e9ee7d34f729259a8fc296ee798fbb809549cb4d125a9702381763077a4a800f3b29d8aeaf12ec1817869f105275253ccdd843e23df53c85313e7ed07e1eb2
6
+ metadata.gz: 70ea0c1e5825e3cbfe4c6bc42084dab97f32047bed4c4f94030b3be3657ccf8d039ab54bb4fe6fe06e8c5f36b24772d8f9cee530d9a62018ddfc411453045b2f
7
+ data.tar.gz: dba3d19ae2434bf1081deb2d4a39658bf006f76ada8da572c29b2b5f317687f4bb83b508ac75dfcd1045b6ad94e4c7365a27f041cc6e22144dc1b25e1418d0f8
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg/*
data/Rakefile ADDED
@@ -0,0 +1,59 @@
1
+ task :release => :build do
2
+ %x(
3
+ gem push pkg/compass_sumo-#{current_version}.gem
4
+ )
5
+ end
6
+
7
+ task :build do
8
+ %x(
9
+ gem build compass_sumo.gemspec &&
10
+ mv compass_sumo-#{current_version}.gem pkg/
11
+ )
12
+ end
13
+
14
+ namespace :version do
15
+ namespace :bump do
16
+ task :minor do
17
+ version = current_version_info
18
+ version[:minor] += 1
19
+ write_version(version)
20
+ end
21
+
22
+ task :major do
23
+ version = current_version_info
24
+ version[:major] += 1
25
+ write_version(version)
26
+ end
27
+
28
+ task :patch do
29
+ version = current_version_info
30
+ version[:patch] += 1
31
+ write_version(version)
32
+ end
33
+ end
34
+ end
35
+
36
+ def current_version
37
+ unless Kernel.const_defined?('Sumodev') && Sumodev.const_defined?('VERSION')
38
+ load File.join(File.dirname(__FILE__), 'lib/compass_sumo/version.rb')
39
+ end
40
+
41
+ CompassSumo::VERSION
42
+ end
43
+
44
+ def current_version_info
45
+ match = current_version.match(/(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)/)
46
+ match.names.inject({}) do |result, name|
47
+ result.merge name.to_sym => match[name].to_i
48
+ end
49
+ end
50
+
51
+ def write_version(v)
52
+ File.open(File.join(File.dirname(__FILE__), 'lib/compass_sumo/version.rb'), 'w') do |f|
53
+ f.write <<-MODULE
54
+ module CompassSumo
55
+ VERSION = "#{v[:major]}.#{v[:minor]}.#{v[:patch]}"
56
+ end
57
+ MODULE
58
+ end
59
+ end
@@ -1,3 +1,3 @@
1
1
  module CompassSumo
2
- VERSION = "0.5.1"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -1,17 +1,17 @@
1
1
  @mixin keyframes($animationName) {
2
- @-webkit-keyframes $animationName {
2
+ @-webkit-keyframes #{$animationName} {
3
3
  @content
4
4
  }
5
5
 
6
- @-moz-keyframes $animationName {
6
+ @-moz-keyframes #{$animationName} {
7
7
  @content
8
8
  }
9
9
 
10
- @-o-keyframes $animationName {
10
+ @-o-keyframes #{$animationName} {
11
11
  @content
12
12
  }
13
13
 
14
- @keyframes $animationName {
14
+ @keyframes #{$animationName} {
15
15
  @content
16
16
  }
17
17
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass_sumo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan De Poorter
@@ -11,20 +11,20 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-09-08 00:00:00.000000000 Z
14
+ date: 2015-03-31 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: compass
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - ">="
20
+ - - '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
27
+ - - '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
30
  description: The SumoCoders CSS Framework
@@ -33,8 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - .gitignore
36
37
  - README.md
37
- - compass_sumo-0.2.0.gem
38
+ - Rakefile
38
39
  - compass_sumo.gemspec
39
40
  - lib/compass_sumo.rb
40
41
  - lib/compass_sumo/engine.rb
@@ -62,17 +63,17 @@ require_paths:
62
63
  - lib
63
64
  required_ruby_version: !ruby/object:Gem::Requirement
64
65
  requirements:
65
- - - ">="
66
+ - - '>='
66
67
  - !ruby/object:Gem::Version
67
68
  version: '0'
68
69
  required_rubygems_version: !ruby/object:Gem::Requirement
69
70
  requirements:
70
- - - ">="
71
+ - - '>='
71
72
  - !ruby/object:Gem::Version
72
73
  version: '0'
73
74
  requirements: []
74
75
  rubyforge_project:
75
- rubygems_version: 2.2.2
76
+ rubygems_version: 2.0.2
76
77
  signing_key:
77
78
  specification_version: 4
78
79
  summary: SumoCoders CSS Framework
Binary file