sassy 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore CHANGED
@@ -1,4 +1,6 @@
1
1
  .AppleDouble
2
+ .bundle
2
3
  .rvmrc
3
4
  .rspec
4
- sassy*.gem
5
+ *.gem
6
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in sassy.gemspec
4
+ gemspec
5
+
data/Gemfile.lock ADDED
@@ -0,0 +1,27 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sassy (0.0.2)
5
+ activesupport (~> 3.0)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ activesupport (3.0.3)
11
+ diff-lcs (1.1.2)
12
+ rspec (2.3.0)
13
+ rspec-core (~> 2.3.0)
14
+ rspec-expectations (~> 2.3.0)
15
+ rspec-mocks (~> 2.3.0)
16
+ rspec-core (2.3.1)
17
+ rspec-expectations (2.3.0)
18
+ diff-lcs (~> 1.1.2)
19
+ rspec-mocks (2.3.0)
20
+
21
+ PLATFORMS
22
+ ruby
23
+
24
+ DEPENDENCIES
25
+ activesupport (~> 3.0)
26
+ rspec (~> 2.0)
27
+ sassy!
data/README.rdoc ADDED
@@ -0,0 +1,25 @@
1
+ = Sassy
2
+
3
+ Generate SCSS using ruby.
4
+
5
+ == Example
6
+
7
+ Sassy::SCSS.build do
8
+ body do
9
+ background '#000'
10
+ color '#fff'
11
+ end
12
+
13
+ r '#header' do
14
+ background 'green'
15
+ d 'font-size', '13px'
16
+
17
+ a do
18
+ color :red;
19
+ end
20
+
21
+ r '#logo' do
22
+ background :blue
23
+ end
24
+ end
25
+ end
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require 'bundler'
2
+
3
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,3 @@
1
+ module Sassy
2
+ VERSION = "0.0.2"
3
+ end
data/sassy.gemspec CHANGED
@@ -1,23 +1,25 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+ require "sassy/version"
3
+
1
4
  Gem::Specification.new do |s|
2
- s.name = 'sassy'
3
- s.version = '0.0.1'
5
+ s.name = "sassy"
6
+ s.version = Sassy::VERSION
7
+ s.platform = Gem::Platform::RUBY
4
8
  s.authors = ["Austin Schneider"]
5
- s.email = "soccer022483@gmail.com"
6
- s.description = 'Sassy'
7
- s.homepage = ""
8
- s.summary = "Sassy; copyright 2010 Austin Schneider"
9
- s.post_install_message = "Thanks for installing Sassy!"
10
- s.files = Dir[
11
- '.gitignore',
12
- 'lib/**/*',
13
- 'LICENSE',
14
- 'README',
15
- 'sassy.gemspec',
16
- 'spec/**/*'
17
- ].to_a
18
- s.test_files = []
9
+ s.email = ["soccer022483@gmail.com"]
10
+ s.homepage = "http://github.com/soccer022483/sassy"
11
+ s.summary = %q{Generate SCSS with Ruby.}
12
+ s.description = %q{Generate SCSS with Ruby.}
13
+
14
+ s.rubyforge_project = "sassy"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
20
 
21
- s.add_dependency 'activesupport', '>= 3.0.0'
22
- s.add_development_dependency 'rspec', '>= 2.0.0.beta.22'
21
+ s.post_install_message = "Thanks for installing Sassy!"
22
+
23
+ s.add_dependency 'activesupport', '~> 3.0'
24
+ s.add_development_dependency 'rspec', '~> 2.0'
23
25
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sassy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 0
9
- - 1
10
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
11
10
  platform: ruby
12
11
  authors:
13
12
  - Austin Schneider
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-12-06 00:00:00 -05:00
17
+ date: 2010-12-20 00:00:00 -05:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -24,14 +23,12 @@ dependencies:
24
23
  requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
25
  requirements:
27
- - - ">="
26
+ - - ~>
28
27
  - !ruby/object:Gem::Version
29
- hash: 7
30
28
  segments:
31
29
  - 3
32
30
  - 0
33
- - 0
34
- version: 3.0.0
31
+ version: "3.0"
35
32
  type: :runtime
36
33
  version_requirements: *id001
37
34
  - !ruby/object:Gem::Dependency
@@ -40,20 +37,17 @@ dependencies:
40
37
  requirement: &id002 !ruby/object:Gem::Requirement
41
38
  none: false
42
39
  requirements:
43
- - - ">="
40
+ - - ~>
44
41
  - !ruby/object:Gem::Version
45
- hash: 62196431
46
42
  segments:
47
43
  - 2
48
44
  - 0
49
- - 0
50
- - beta
51
- - 22
52
- version: 2.0.0.beta.22
45
+ version: "2.0"
53
46
  type: :development
54
47
  version_requirements: *id002
55
- description: Sassy
56
- email: soccer022483@gmail.com
48
+ description: Generate SCSS with Ruby.
49
+ email:
50
+ - soccer022483@gmail.com
57
51
  executables: []
58
52
 
59
53
  extensions: []
@@ -62,26 +56,31 @@ extra_rdoc_files: []
62
56
 
63
57
  files:
64
58
  - .gitignore
65
- - lib/sassy/scss/declaration.rb
59
+ - Gemfile
60
+ - Gemfile.lock
61
+ - LICENSE
62
+ - README.rdoc
63
+ - Rakefile
64
+ - lib/sassy.rb
65
+ - lib/sassy/scss.rb
66
66
  - lib/sassy/scss/builder.rb
67
- - lib/sassy/scss/rule.rb
68
- - lib/sassy/scss/is_scss.rb
67
+ - lib/sassy/scss/declaration.rb
69
68
  - lib/sassy/scss/declaration_set.rb
69
+ - lib/sassy/scss/is_scss.rb
70
+ - lib/sassy/scss/rule.rb
70
71
  - lib/sassy/scss/rule_set.rb
71
- - lib/sassy/scss.rb
72
- - lib/sassy.rb
73
- - LICENSE
72
+ - lib/sassy/version.rb
74
73
  - sassy.gemspec
75
- - spec/spec_helper.rb
76
- - spec/lib/sassy/scss_spec.rb
77
- - spec/lib/sassy/scss/is_scss_spec.rb
78
- - spec/lib/sassy/scss/declaration_spec.rb
79
- - spec/lib/sassy/scss/rule_spec.rb
80
74
  - spec/lib/sassy/scss/declaration_set_spec.rb
75
+ - spec/lib/sassy/scss/declaration_spec.rb
76
+ - spec/lib/sassy/scss/is_scss_spec.rb
81
77
  - spec/lib/sassy/scss/rule_set_spec.rb
78
+ - spec/lib/sassy/scss/rule_spec.rb
79
+ - spec/lib/sassy/scss_spec.rb
82
80
  - spec/lib/sassy_spec.rb
81
+ - spec/spec_helper.rb
83
82
  has_rdoc: true
84
- homepage: ""
83
+ homepage: http://github.com/soccer022483/sassy
85
84
  licenses: []
86
85
 
87
86
  post_install_message: Thanks for installing Sassy!
@@ -94,7 +93,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
93
  requirements:
95
94
  - - ">="
96
95
  - !ruby/object:Gem::Version
97
- hash: 3
98
96
  segments:
99
97
  - 0
100
98
  version: "0"
@@ -103,16 +101,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
101
  requirements:
104
102
  - - ">="
105
103
  - !ruby/object:Gem::Version
106
- hash: 3
107
104
  segments:
108
105
  - 0
109
106
  version: "0"
110
107
  requirements: []
111
108
 
112
- rubyforge_project:
109
+ rubyforge_project: sassy
113
110
  rubygems_version: 1.3.7
114
111
  signing_key:
115
112
  specification_version: 3
116
- summary: Sassy; copyright 2010 Austin Schneider
113
+ summary: Generate SCSS with Ruby.
117
114
  test_files: []
118
115