gem_2345 0.0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,2 +1,9 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rake/testtask"
2
3
 
4
+ Rake::TestTask.new do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ t.verbose = true
9
+ end
data/gem_2345.gemspec CHANGED
@@ -1,23 +1,25 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'gem_2345/version'
4
+ require 'gem_2345/import-once/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "gem_2345"
8
- spec.version = Gem2345::VERSION
8
+ spec.version = Gem2345::ImportOnce::VERSION
9
9
  spec.authors = ["Rambo"]
10
10
  spec.email = ["lx_126@hotmail.com"]
11
- spec.summary = %q{"Write a short summary. Required."}
12
- spec.description = %q{"Write a longer description. Optional."}
11
+ spec.description = %q{Changes the behavior of Sass's @import directive to only import a file once.}
12
+ spec.summary = %q{Speed up your Sass compilation by making @import only import each file once.}
13
13
  spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
16
- spec.files = `git ls-files -z`.split("\x0")
16
+ spec.files = `git ls-files #{File.dirname(__FILE__)}`.split($/)
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
-
20
+ spec.add_dependency "sass", ">= 3.2", "< 3.5"
21
21
  spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "diff-lcs"
22
23
  spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "sass-globbing"
23
25
  end
data/lib/gem_2345.rb CHANGED
@@ -1,5 +1 @@
1
- require "gem_2345/version"
2
-
3
- module Gem2345
4
- # Your code goes here...
5
- end
1
+ require 'gem_2345/import-once'
@@ -1,3 +1,5 @@
1
1
  module Gem2345
2
- VERSION = "0.0.1"
2
+ module ImportOnce
3
+ VERSION = '0.1.1'
4
+ end
3
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_2345
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 0
9
8
  - 1
10
- version: 0.0.1
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rambo
@@ -18,9 +18,31 @@ cert_chain: []
18
18
  date: 2015-12-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- name: bundler
21
+ name: sass
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 3
31
+ - 2
32
+ version: "3.2"
33
+ - - <
34
+ - !ruby/object:Gem::Version
35
+ hash: 13
36
+ segments:
37
+ - 3
38
+ - 5
39
+ version: "3.5"
40
+ type: :runtime
41
+ version_requirements: *id001
42
+ - !ruby/object:Gem::Dependency
43
+ name: bundler
44
+ prerelease: false
45
+ requirement: &id002 !ruby/object:Gem::Requirement
24
46
  none: false
25
47
  requirements:
26
48
  - - ~>
@@ -31,11 +53,25 @@ dependencies:
31
53
  - 7
32
54
  version: "1.7"
33
55
  type: :development
34
- version_requirements: *id001
56
+ version_requirements: *id002
57
+ - !ruby/object:Gem::Dependency
58
+ name: diff-lcs
59
+ prerelease: false
60
+ requirement: &id003 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ hash: 3
66
+ segments:
67
+ - 0
68
+ version: "0"
69
+ type: :development
70
+ version_requirements: *id003
35
71
  - !ruby/object:Gem::Dependency
36
72
  name: rake
37
73
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
74
+ requirement: &id004 !ruby/object:Gem::Requirement
39
75
  none: false
40
76
  requirements:
41
77
  - - ~>
@@ -46,8 +82,22 @@ dependencies:
46
82
  - 0
47
83
  version: "10.0"
48
84
  type: :development
49
- version_requirements: *id002
50
- description: "\"Write a longer description. Optional.\""
85
+ version_requirements: *id004
86
+ - !ruby/object:Gem::Dependency
87
+ name: sass-globbing
88
+ prerelease: false
89
+ requirement: &id005 !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ hash: 3
95
+ segments:
96
+ - 0
97
+ version: "0"
98
+ type: :development
99
+ version_requirements: *id005
100
+ description: Changes the behavior of Sass's @import directive to only import a file once.
51
101
  email:
52
102
  - lx_126@hotmail.com
53
103
  executables: []
@@ -97,6 +147,6 @@ rubyforge_project:
97
147
  rubygems_version: 1.8.24
98
148
  signing_key:
99
149
  specification_version: 3
100
- summary: "\"Write a short summary. Required.\""
150
+ summary: Speed up your Sass compilation by making @import only import each file once.
101
151
  test_files: []
102
152