sassquatch 0.0.1 → 0.0.3

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: 551e69812972f19b7b17f7bb17c44eddbd5765e0
4
- data.tar.gz: 3ea0682c96cac7da53fdc7bea1b28466e1d2c67b
3
+ metadata.gz: c33211ef049cb6b546d288e7e70f9c888e245bd5
4
+ data.tar.gz: 58811670a22d3c6a35d75c9631e4859f4cbb75ba
5
5
  SHA512:
6
- metadata.gz: d8997f87dc7bca584f43078d9be3dcac7b4bb35fe6c98d25cc420c1624998e2f61030ac52f68bfd744820bcac0182f2526c8f2cbb8353a75d6c6a0e533f4381d
7
- data.tar.gz: ea6c1d36503fa26422af32357bd1c4eee54194bde3dc059f77cd5266daf90179553a8c0ccc4192d1ba90cf571c363bca4e03e6536017956d8dc1d4b00149b291
6
+ metadata.gz: 5a42231276539f1eef284e09d45589dc1e7a163e345d54df2e922a829823517df3399b24f2d7b0ce11ac5504678485c5e9e50a3a8f2141f065c46d140fbb4d48
7
+ data.tar.gz: d08dd58cd5a37ecc5267c0ef55da065409f0e884331aa12d82c654f91629f151a84edf0bbd8dde483c2134fd3630cc208c9ec2471dd6561ec244dc7f673f2c0f
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
- Gemfile.lock
7
6
  InstalledFiles
8
7
  _yardoc
9
8
  coverage
@@ -0,0 +1,16 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sassquatch (0.0.3)
5
+ thor
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ thor (0.18.1)
11
+
12
+ PLATFORMS
13
+ ruby
14
+
15
+ DEPENDENCIES
16
+ sassquatch!
data/README.md CHANGED
@@ -16,6 +16,16 @@ Or install it yourself as:
16
16
 
17
17
  $ gem install sassquatch
18
18
 
19
+ On your `app/stylesheets/application.css`:
20
+
21
+ require sassquatch
22
+
23
+ ### Using outside Rails
24
+
25
+ You can install the Sassquatch files for using without Rails:
26
+
27
+ $ sassquatch install
28
+
19
29
  ## Contributing
20
30
 
21
31
  1. Fork it
@@ -11,6 +11,7 @@ $rails: true !default;
11
11
  @import "sassquatch/fonts";
12
12
  @import "sassquatch/grid";
13
13
  @import "sassquatch/image_replace";
14
+ @import "sassquatch/links";
14
15
  @import "sassquatch/mute";
15
16
  @import "sassquatch/no_border";
16
17
  @import "sassquatch/no_list_style";
@@ -20,4 +21,3 @@ $rails: true !default;
20
21
  @import "sassquatch/rails";
21
22
  @import "sassquatch/reset_box";
22
23
  @import "sassquatch/reset_last_child";
23
- @import "sassquatch/text_decoration";
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require "sassquatch"
3
+ Sassquatch::CLI.start
@@ -1,4 +1,6 @@
1
- module Sassquatch
2
- class Engine < Rails::Engine
3
- end
4
- end
1
+ require "thor"
2
+
3
+ require "sassquatch/cli"
4
+ require "sassquatch/engine" if defined?(Rails)
5
+ require "sassquatch/generator"
6
+ require "sassquatch/version"
@@ -0,0 +1,22 @@
1
+ module Sassquatch
2
+ class CLI < Thor
3
+ check_unknown_options!
4
+
5
+ def self.exit_on_failure?
6
+ true
7
+ end
8
+
9
+ desc "install", "Install Sassquatch files"
10
+ def install
11
+ generator = Generator.new
12
+ generator.destination_root = Dir.pwd
13
+ generator.invoke_all
14
+ end
15
+
16
+ desc "version", "Display Sassquatch version"
17
+ map %w(-v --version) => :version
18
+ def version
19
+ say "Sassquatch #{Sassquatch::VERSION}"
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,4 @@
1
+ module Sassquatch
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,16 @@
1
+ module Sassquatch
2
+ class Generator < Thor::Group
3
+ include Thor::Actions
4
+
5
+ desc "Install the Sassquatch files"
6
+
7
+ def self.source_root
8
+ File.expand_path("../../../app/assets/stylesheets", __FILE__)
9
+ end
10
+
11
+ def copy_files
12
+ copy_file "_sassquatch.scss", "sassquatch/_sassquatch.scss"
13
+ directory "sassquatch", "sassquatch/sassquatch"
14
+ end
15
+ end
16
+ end
@@ -1,3 +1,3 @@
1
1
  module Sassquatch
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -6,11 +6,12 @@ Gem::Specification.new do |gem|
6
6
  gem.email = ["fnando.vieira@gmail.com"]
7
7
  gem.description = "Some SCSS helpers"
8
8
  gem.summary = gem.description
9
-
10
9
  gem.files = `git ls-files`.split($\)
11
10
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
12
11
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
12
  gem.name = "sassquatch"
14
13
  gem.require_paths = ["lib"]
15
14
  gem.version = Sassquatch::VERSION
15
+
16
+ gem.add_dependency "thor"
16
17
  end
metadata CHANGED
@@ -1,27 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sassquatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-16 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2013-09-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: Some SCSS helpers
14
28
  email:
15
29
  - fnando.vieira@gmail.com
16
- executables: []
30
+ executables:
31
+ - sassquatch
17
32
  extensions: []
18
33
  extra_rdoc_files: []
19
34
  files:
20
35
  - .gitignore
21
36
  - Gemfile
37
+ - Gemfile.lock
22
38
  - README.md
23
39
  - Rakefile
24
- - app/assets/stylesheets/sassquatch.scss
40
+ - app/assets/stylesheets/_sassquatch.scss
25
41
  - app/assets/stylesheets/sassquatch/_background_image.scss
26
42
  - app/assets/stylesheets/sassquatch/_centered.scss
27
43
  - app/assets/stylesheets/sassquatch/_clearfix.scss
@@ -45,7 +61,11 @@ files:
45
61
  - app/assets/stylesheets/sassquatch/_rails.scss
46
62
  - app/assets/stylesheets/sassquatch/_reset_box.scss
47
63
  - app/assets/stylesheets/sassquatch/_reset_last_child.scss
64
+ - bin/sassquatch
48
65
  - lib/sassquatch.rb
66
+ - lib/sassquatch/cli.rb
67
+ - lib/sassquatch/engine.rb
68
+ - lib/sassquatch/generator.rb
49
69
  - lib/sassquatch/version.rb
50
70
  - sassquatch.gemspec
51
71
  homepage: