modularis 1.0 → 2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/lib/modularis.rb +26 -5
  3. metadata +5 -7
  4. data/CHANGELOG.md +0 -0
  5. data/README.md +0 -54
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWRlMDE3NmE2YTg0ZTlkMTE2MDBlZDNkM2U3OGY3MTNkODljNjRlNA==
4
+ MDE3MDI3N2FjNWMzMjIxNGY2NjBiODIyZjI2YjZjZTVlOGEwNWMyOQ==
5
5
  data.tar.gz: !binary |-
6
- OTE0OWJkMThlMTQwOTdmYmYwZjM0Y2RiYzUwYTQwNWJlZTUwNTNjMw==
6
+ MmE0ZmNlMTg2NDIwYzMzYTJiYTBhZDY5MjNjMWIxNThmY2QxYzUwZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTY3MjQ4ODUxMzY4Yjg4YWVkNWZmMDliMDVlNTYzY2M5MWUxNTU0OTg1ZjEx
10
- NjQ2NWNmZTNmMjBhNjYyMWIzZjI4NmQ3MmQwNmNkMjM2YjNiNDM5MWJiMWIw
11
- MjljZTk2NjZkOTg4OTUxODA5NzczY2NlNTI5ZDhiYjJiOTBkYjU=
9
+ ZWM4OTNkYWM2NGQ1MGM0YWNlNjM2YTI1MmM1MDg0YjdhNDY5MDRiYjJiNTYw
10
+ MzVlMmEwZjJhODA5NDRjYTcwZmY5MDhhYmUzYTczZjdiNmM0NjBhZDljMjlh
11
+ NTFjYjJjMmE5ZmNkYWU5ODM3MzY1NjM0YTg1ZTNiZTZkYzZlODI=
12
12
  data.tar.gz: !binary |-
13
- MWNiYjMwY2I3Y2M1MmQyZmRiMDY1MjRmYzBjZjVlMzhhZjlmNjk1MjQwMjIw
14
- YTIzNTFkNjQ3NmM1NmMxZWE4MjQ4ZGZlMzIzYzk0YmQ0NjBjZjVjYmQ2ZjYz
15
- NGE1NmFlOGZiNjFiNjI2MTY0NWJlZWExYzJlZGY4MTRhMWRmMDM=
13
+ NDAwMzE4MWFkYWRjNmQ3ZTAwMjRmNzlhYWM0ZTI3M2ExNDliMTZkOTk2NjY0
14
+ ZDA3MDdkNzIyNzRlYTk5NzIyYzVmMGRiMWIwYzFhNWNlNTIwZTE5Y2ExY2Fj
15
+ YjQzYTFhMDI5MzliOWVhMzMyYWU3OGYzYzVhYzcwMWFkMDI4YTE=
data/lib/modularis.rb CHANGED
@@ -1,9 +1,30 @@
1
+ # All gems that are required for this extension to work should go here.
2
+ # These are the requires you would normally put in your config.rb file
3
+ # By default, you should always included Compass. Do not include your
4
+ # extension.
1
5
  require 'compass'
2
6
 
3
- extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
4
- Compass::Frameworks.register('extension', :path => extension_path)
7
+ # This tells Compass what your Compass extension is called, and where to find
8
+ # its files
9
+ # Replace 'extension' with the name of your extension. Spaces allowed.
10
+ modularis_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
11
+ Compass::Frameworks.register('modularis', :path => modularis_path)
5
12
 
13
+ # Version and date of version for your Compass extension.
14
+ # Replace Extension with the name of your extension
15
+ # Letters, numbers, and underscores only
16
+ # Version is a number. If a version contains alphas, it will be created as
17
+ # a prerelease version
18
+ # Date is in the form of YYYY-MM-DD
6
19
  module Modularis
7
- VERSION = "1.0"
8
- DATE = "2013-05-27"
9
- end
20
+ VERSION = "2.0"
21
+ DATE = "2012-09-09"
22
+ end
23
+
24
+ # This is where any custom SassScript should be placed. The functions will be
25
+ # available on require of your extension without the need for users to import
26
+ # any partials. Uncomment below.
27
+
28
+ # module Sass::Script::Functions
29
+ #
30
+ # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modularis
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '2.0'
5
5
  platform: ruby
6
6
  authors:
7
- - Gennadiy Ukhanov
7
+ - First Last
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-27 00:00:00.000000000 Z
11
+ date: 2012-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -40,15 +40,13 @@ dependencies:
40
40
  version: 0.12.1
41
41
  description: A generalized Compass modularis to build off of
42
42
  email:
43
- - shaggysmile@gmail.com
43
+ - firstlast@modularis.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - README.md
49
- - CHANGELOG.md
50
48
  - lib/modularis.rb
51
- homepage: http://modularis.themepile.co.uk
49
+ homepage: http://modularis.com
52
50
  licenses: []
53
51
  metadata: {}
54
52
  post_install_message:
data/CHANGELOG.md DELETED
File without changes
data/README.md DELETED
@@ -1,54 +0,0 @@
1
- Compass Extension Template
2
- ==========================
3
-
4
- Whenever I'm creating a [Compass extension](http://compass-style.org/help/tutorials/extensions/), I find that I always use the same basic template for creating extensions, and that the project that Compass comes with isn't quite complete enough to get me where I need to be. With that in mind, I've created this little project to get you on your way. Here's a little template that I've put together to kickstart Compass extension development. Wherever it says "Extension" in the template files/file names, replace it with *your* extension's name. All files are self documented; please read the documentation there.
5
-
6
- ## lib/extension.rb
7
-
8
- Your `lib` directory is your Ruby directory. The main file in here is **extension.rb** which contains the information that Compass needs to make your Extension run like a champ. It contains the Compass requires for other gems (like you would include in *config.rb* normally), the code to register your extension with Compass, the version number and date of the version, and any SassScript you may want to write.
9
-
10
- ## stylesheets/_extension.scss
11
-
12
- Your `stylesheets` directory is where you write all of your extension's Sass! I've included **_extension.scss**, but you can include whatever you'd like. Write Sass or SCSS, do what works for you! Have sub folders, have sub partials, this is your playground. Important to note: make sure that every file in here is a Partial unless there is a file you specifically want to be output as a full file. Generally speaking, most Compass extensions *only* have partial files.
13
-
14
- ## templates/project
15
-
16
- Your `templates` directory is where you store any project templates/patterns you'd like a user to be able to use. The Compass Extension documentation explains in full what a template/pattern can do, the one provided is a generic one including print, i.e., and screen stylesheets that will import your extension. This will provide users with the ability to create a new project using your Compass extension in the following way:
17
-
18
- `compass create <my_project> -r extension --using extension`
19
-
20
- ## CHANGELOG.md/README.md
21
-
22
- These files aren't required for your Compass extension, but I really like including them as they are useful for Users to understand the direction of your Compass extension. Yes! That means you get to throw this README out and write your own! Do it!
23
-
24
- ## extension.gemspec
25
-
26
- This is the magic file that will turn your collection of files into a packaged Compass extension! It's all laid out for you, just add/change what you need! When you're all done editing what you need, in the command line, from the directory where that lives, type the following:
27
-
28
- `gem build extension.gemspec`
29
-
30
- This will bundle your extension up into a Ruby gem. From there, if you're just using it locally, you can install your Extension in by typing the following:
31
-
32
- `gem install extension-VERSION.gem`
33
-
34
- If you're looking to distribute your extension, first, make sure you've got a [Ruby Gems](http://rubygems.org/) account, and type in the following:
35
-
36
- `gem push extension-VERSION.gem`
37
-
38
- If you're not logged in to Ruby Gems, it will ask you to log in, then it will push your extension up to Ruby Gems! Tada! It's now distributed to the world! To install a Compass extension from Ruby Gems, it's as simple as:
39
-
40
- `gem install extension`
41
-
42
- <hr>
43
-
44
- # AND YOU'RE DONE.
45
-
46
- <hr>
47
-
48
- ## Special Thanks
49
- Super special thanks goes out to [Nathan Weizenbaum](https://github.com/nex3/) for Sass, [Chris Eppstein](https://github.com/chriseppstein/) for Compass, and [Mason Wendell](https://github.com/canarymason/) and [Scott Kellum](https://github.com/scottkellum/), my Compass extension partners in crime. Much of what's presented here is an amalgamation of what Chris, Mason, and Scott have taught me, so double thanks to them.
50
-
51
- ## License
52
- [Creative Commons Attribution 3.0](http://creativecommons.org/licenses/by/3.0). Go wild.
53
-
54
- If you're able to link me to your extension so I can see what you've built, that'd be awesome!