SassyBitwise 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1 -0
  3. data/lib/SassyBitwise.rb +15 -9
  4. metadata +2 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5eae462d2936aeba5a9cdb21279e041bbadd82d
4
- data.tar.gz: 7f10ebd2d3e4cce3c90a4b9767033f5594361bbc
3
+ metadata.gz: 249a8a24321efd6f29ce29bd95d5c59b90fc3177
4
+ data.tar.gz: 629703f5ee4f8d19ba8051aca46034ec9b731de2
5
5
  SHA512:
6
- metadata.gz: 1de5b527814cb4c4a443953865106fe2872a566b855b93e3d9bce2205418f1514cc07184657e62010e11e521980f0327d76733af37236b4b60c960c08bf54edf
7
- data.tar.gz: 45cb9e99ace844e1bb06a83834015a57e3e2b59cb6ddfebadd2c1ff3e23093c41d47a1f85253b8e820185b5368f9e89e34ccc83e19460c881f78d895a16f8281
6
+ metadata.gz: 1f835570cdd2ac9efe294ca8c9c08157bf43001de8d1cdc8dc2763689768cdbfd8de5752b3fe7026511d37f4dab7d5b447bc347d09ce00717d06307f2a325142
7
+ data.tar.gz: 4f4ece5da502d50ef119fdf6c3b64b2777ef2e722c6a4d9284900fa8244b62c488cbdb1983e31b08a66c303d169621f1c22b22d4bb815da6a85fdd2d7a386135
@@ -1,5 +1,6 @@
1
1
  # Changelog
2
2
 
3
+ * `1.1.2`: removing Compass dependency
3
4
  * `1.1.1`: reducing Sass and Compass dependencies
4
5
  * `1.1.0`: new API accepting multiple bitwise operation simultaneously
5
6
  * `1.0.1`: fixing important issue in `^`, `|` and `&`
@@ -1,14 +1,20 @@
1
- require 'compass'
2
- extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
3
- Compass::Frameworks.register('SassyBitwise', :path => extension_path)
1
+ base_directory = File.expand_path(File.join(File.dirname(__FILE__), '..'))
2
+ SassyBitwise_stylesheets_path = File.join(base_directory, 'stylesheets')
3
+
4
+ if (defined? Compass)
5
+ Compass::Frameworks.register('SassyBitwise', :stylesheets_directory => SassyBitwise_stylesheets_path)
6
+ else
7
+ # compass not found, register on the Sass path via the environment.
8
+ if ENV.has_key?("SASS_PATH")
9
+ ENV["SASS_PATH"] = ENV["SASS_PATH"] + File::PATH_SEPARATOR + SassyBitwise_stylesheets_path
10
+ else
11
+ ENV["SASS_PATH"] = SassyBitwise_stylesheets_path
12
+ end
13
+ end
4
14
 
5
15
  # Version is a number. If a version contains alphas, it will be created as a prerelease version
6
16
  # Date is in the form of YYYY-MM-DD
7
17
  module SassyBitwise
8
- VERSION = "1.1.1"
9
- DATE = "2014-06-06"
18
+ VERSION = "1.1.2"
19
+ DATE = "2014-06-16"
10
20
  end
11
-
12
- module Sass::Script::Functions
13
-
14
- end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SassyBitwise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hugo Giraudel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-06 00:00:00.000000000 Z
11
+ date: 2014-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.3'
27
- - !ruby/object:Gem::Dependency
28
- name: compass
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: 1.0.0.alpha.18
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: 1.0.0.alpha.18
41
27
  description: Bitwise operators in Sass.
42
28
  email:
43
29
  - hugo.giraudel@gmail.com