compass-warning 1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2b3af247d760ea51453910593be7bf54ac701b77
4
+ data.tar.gz: 6cf2179494515fc255c66f5ab812d5b37d22062b
5
+ SHA512:
6
+ metadata.gz: b401239ece8275fe8923fb8206574f43c24ab6f9abf4e8911dbaddf096cabba3ae0618a30318371d8f3d02f0120cb65b069c8f4b8195ac4efe0cc7454cf4e14d
7
+ data.tar.gz: ac64d31fa20dc1bdd51994b3350c563f8673a0992ef6b133b640538514663334d7d76533be1a83d86082f6113d234d7a9c91de6c82036af98d75698a5fa744e7
@@ -0,0 +1,18 @@
1
+ Compass Warning
2
+ ==========================
3
+
4
+ When you use Sass and Compass, you do no want developers to edit the CSS file. This extension will put a simple little warning into your CSS output to make sure nobody edits the CSS file. Win.
5
+
6
+ ## To Use
7
+
8
+ `gem install compass-warning`
9
+
10
+ Add this to your config.rb
11
+ `require 'compass-warning'`
12
+
13
+ Add this to the top of your .sass or .scss file so that the warning gets added automatically.
14
+ `@import "compass-warning";`
15
+
16
+
17
+ ## License
18
+ [Creative Commons Attribution 3.0](http://creativecommons.org/licenses/by/3.0). Go wild.
@@ -0,0 +1,9 @@
1
+ require 'compass'
2
+
3
+ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
4
+ Compass::Frameworks.register('compass-warning', :path => extension_path)
5
+
6
+ module Extension
7
+ VERSION = "1.0"
8
+ DATE = "2013-09-25"
9
+ end
@@ -0,0 +1,31 @@
1
+ //
2
+ // All lines starting with "//" will not show up in the style.css
3
+ // However, the following lines inside "/* ... */" WILL show up.
4
+ //
5
+ // The visible comment below is there to warn any developer who
6
+ // opens a .css file that they need to edit the .scss versions ONLY.
7
+ // But you already know that because you're reading this :)
8
+ //
9
+
10
+ /*
11
+ *
12
+ *
13
+ *
14
+ *
15
+ *
16
+ *
17
+ *
18
+ * WARNING
19
+ *
20
+ * You are looking at the .css version of the [CLIENT_NAME] assets.
21
+ * If you directly edit the .css files, you will destroy the
22
+ * usefulness of the Sass files, and the website's theme will be
23
+ * much harder to maintain in the future.
24
+ *
25
+ *
26
+ *
27
+ *
28
+ *
29
+ *
30
+ *
31
+ */
metadata ADDED
@@ -0,0 +1,76 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: compass-warning
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.0'
5
+ platform: ruby
6
+ authors:
7
+ - Ian Carrico
8
+ - Chris Ruppel
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-09-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sass
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: 3.2.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: 3.2.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: compass
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '>='
33
+ - !ruby/object:Gem::Version
34
+ version: 0.12.1
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '>='
40
+ - !ruby/object:Gem::Version
41
+ version: 0.12.1
42
+ description: A Compass extension to include a little warning for front end developers
43
+ email:
44
+ - github@iancarrico.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - README.md
50
+ - lib/compass-warning.rb
51
+ - stylesheets/_compass-warning.scss
52
+ homepage:
53
+ licenses: []
54
+ metadata: {}
55
+ post_install_message:
56
+ rdoc_options: []
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: 1.3.6
69
+ requirements: []
70
+ rubyforge_project: compass-warning
71
+ rubygems_version: 2.0.7
72
+ signing_key:
73
+ specification_version: 4
74
+ summary: This will add in a css warning to the css file so that front end developers
75
+ know you are using sass.
76
+ test_files: []