bem-constructor 0.6.0 → 0.7.0

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: c7179af78fa5e624deeb99f2549f9c8f7e130042
4
- data.tar.gz: 9be37fcb72a9444b7cd0fb5fbfe69df90d4fa671
3
+ metadata.gz: 910b0f6417254786ef0cb5eb8702ca7983a67aca
4
+ data.tar.gz: 7280c1831daa0288ac472543bfc6f8345d7fba97
5
5
  SHA512:
6
- metadata.gz: 5334040c1ba129b10ca6ca9752195e70447c7326f2d95c383b1f4fe18cc185261a2a933e73776372893706b80c2f7dda713e4b6b532c73b24da2dfc9674bbae9
7
- data.tar.gz: dd4fdd4bf105b002e1400a8fd691908a5be211a4a38a27083d975a31457b3128fb0d9c1b9de0d5394254d1adbfc8b7f03a1ee45a1a95f76dd20c91e2ada4768b
6
+ metadata.gz: dae336cccc6221b9b8c95254b55cd3985130d864d03826b5d1f50b57b142aba6b56ff0b42ca549c2b88e5a07a515d9d0fed968a69411e015eb790ce08ff1d081
7
+ data.tar.gz: 8bb65c8a57669bab019de0ad76c07096883e72f1e723f36586b3763fe9fc530a230951c58f44d7b663dfb2a9b43cc098f5f4750abc2ce5d3605f058e0e82a8a0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.7
2
+
3
+ * Allowing modifies-element() to be called within blocks.
4
+
5
+ ## 0.6
6
+
7
+ * Fix error-checks in Hack and Theme modules.
8
+
1
9
  ## 0.5
2
10
 
3
11
  * Fix bug where repeating a modifier threw an error.
@@ -3,6 +3,6 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
3
3
  Compass::Frameworks.register('bem-constructor', :path => extension_path)
4
4
 
5
5
  module BEMConstructor
6
- VERSION = "0.6.0"
6
+ VERSION = "0.7.0"
7
7
  DATE = "2015-03-26"
8
8
  end
@@ -9,7 +9,7 @@
9
9
 
10
10
  @function _modifies-element($modified-elements...) {
11
11
 
12
- $inside-check: _should-be-called-within('modifier', 'state', 'theme');
12
+ $inside-check: _should-be-called-within('block', 'modifier', 'state', 'theme');
13
13
  $outside-check: _should-not-be-called-within('element');
14
14
 
15
15
  // Return false in case error throwing is disabled
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bem-constructor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Guillan