sass 3.4.25 → 3.5.0

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.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/Rakefile +2 -117
  4. data/VERSION +1 -1
  5. data/VERSION_DATE +1 -1
  6. data/VERSION_NAME +1 -1
  7. data/lib/sass/cache_stores/filesystem.rb +1 -1
  8. data/lib/sass/css.rb +1 -2
  9. data/lib/sass/engine.rb +38 -20
  10. data/lib/sass/environment.rb +26 -5
  11. data/lib/sass/error.rb +2 -2
  12. data/lib/sass/exec/base.rb +2 -11
  13. data/lib/sass/features.rb +1 -0
  14. data/lib/sass/importers/filesystem.rb +2 -2
  15. data/lib/sass/plugin/compiler.rb +20 -50
  16. data/lib/sass/plugin/configuration.rb +2 -2
  17. data/lib/sass/railtie.rb +1 -1
  18. data/lib/sass/script/functions.rb +235 -43
  19. data/lib/sass/script/lexer.rb +13 -2
  20. data/lib/sass/script/parser.rb +69 -67
  21. data/lib/sass/script/tree/funcall.rb +35 -30
  22. data/lib/sass/script/tree/list_literal.rb +23 -8
  23. data/lib/sass/script/tree/map_literal.rb +2 -2
  24. data/lib/sass/script/tree/node.rb +0 -8
  25. data/lib/sass/script/tree/operation.rb +0 -7
  26. data/lib/sass/script/value/arg_list.rb +1 -1
  27. data/lib/sass/script/value/base.rb +17 -0
  28. data/lib/sass/script/value/callable.rb +25 -0
  29. data/lib/sass/script/value/color.rb +5 -0
  30. data/lib/sass/script/value/function.rb +19 -0
  31. data/lib/sass/script/value/helpers.rb +29 -9
  32. data/lib/sass/script/value/list.rb +35 -14
  33. data/lib/sass/script/value/map.rb +2 -2
  34. data/lib/sass/script/value/number.rb +1 -1
  35. data/lib/sass/script/value.rb +2 -0
  36. data/lib/sass/scss/parser.rb +99 -40
  37. data/lib/sass/scss/rx.rb +4 -10
  38. data/lib/sass/scss/static_parser.rb +5 -24
  39. data/lib/sass/selector/abstract_sequence.rb +7 -6
  40. data/lib/sass/selector/comma_sequence.rb +7 -4
  41. data/lib/sass/selector/pseudo.rb +19 -2
  42. data/lib/sass/selector/sequence.rb +35 -6
  43. data/lib/sass/selector/simple.rb +9 -2
  44. data/lib/sass/selector/simple_sequence.rb +8 -4
  45. data/lib/sass/selector.rb +4 -0
  46. data/lib/sass/source/map.rb +2 -2
  47. data/lib/sass/stack.rb +21 -1
  48. data/lib/sass/tree/charset_node.rb +1 -1
  49. data/lib/sass/tree/prop_node.rb +45 -53
  50. data/lib/sass/tree/rule_node.rb +3 -2
  51. data/lib/sass/tree/visitors/check_nesting.rb +1 -1
  52. data/lib/sass/tree/visitors/convert.rb +2 -3
  53. data/lib/sass/tree/visitors/cssize.rb +4 -15
  54. data/lib/sass/tree/visitors/deep_copy.rb +1 -1
  55. data/lib/sass/tree/visitors/extend.rb +2 -8
  56. data/lib/sass/tree/visitors/perform.rb +21 -9
  57. data/lib/sass/tree/visitors/set_options.rb +1 -1
  58. data/lib/sass/tree/visitors/to_css.rb +47 -13
  59. data/lib/sass/util/multibyte_string_scanner.rb +127 -131
  60. data/lib/sass/util/normalized_map.rb +1 -8
  61. data/lib/sass/util.rb +12 -290
  62. data/lib/sass/version.rb +0 -2
  63. data/lib/sass.rb +0 -7
  64. data/test/sass/cache_test.rb +0 -1
  65. data/test/sass/callbacks_test.rb +0 -1
  66. data/test/sass/compiler_test.rb +4 -15
  67. data/test/sass/conversion_test.rb +113 -163
  68. data/test/sass/css2sass_test.rb +16 -19
  69. data/test/sass/css_variable_test.rb +176 -71
  70. data/test/sass/encoding_test.rb +2 -33
  71. data/test/sass/engine_test.rb +71 -19
  72. data/test/sass/exec_test.rb +0 -1
  73. data/test/sass/extend_test.rb +37 -92
  74. data/test/sass/functions_test.rb +58 -14
  75. data/test/sass/importer_test.rb +2 -3
  76. data/test/sass/logger_test.rb +0 -1
  77. data/test/sass/plugin_test.rb +6 -10
  78. data/test/sass/results/script.css +1 -1
  79. data/test/sass/results/units.css +2 -2
  80. data/test/sass/script_conversion_test.rb +10 -2
  81. data/test/sass/script_test.rb +22 -24
  82. data/test/sass/scss/css_test.rb +3 -18
  83. data/test/sass/scss/rx_test.rb +0 -1
  84. data/test/sass/scss/scss_test.rb +49 -16
  85. data/test/sass/source_map_test.rb +13 -16
  86. data/test/sass/superselector_test.rb +0 -1
  87. data/test/sass/util/multibyte_string_scanner_test.rb +121 -124
  88. data/test/sass/util/normalized_map_test.rb +0 -1
  89. data/test/sass/util/subset_map_test.rb +0 -1
  90. data/test/sass/util_test.rb +4 -39
  91. data/test/sass/value_helpers_test.rb +0 -1
  92. data/test/sass-spec.yml +1 -1
  93. data/test/test_helper.rb +39 -0
  94. metadata +19 -44
  95. data/lib/sass/script/css_variable_warning.rb +0 -52
  96. data/lib/sass/util/cross_platform_random.rb +0 -19
  97. data/lib/sass/util/ordered_hash.rb +0 -192
  98. data/test/sass/results/import_charset_1_8.css +0 -5
  99. data/test/sass/templates/import_charset_1_8.sass +0 -6
  100. data/vendor/listen/CHANGELOG.md +0 -1
  101. data/vendor/listen/CONTRIBUTING.md +0 -38
  102. data/vendor/listen/Gemfile +0 -20
  103. data/vendor/listen/Guardfile +0 -8
  104. data/vendor/listen/LICENSE +0 -20
  105. data/vendor/listen/README.md +0 -349
  106. data/vendor/listen/Rakefile +0 -5
  107. data/vendor/listen/Vagrantfile +0 -96
  108. data/vendor/listen/lib/listen/adapter.rb +0 -327
  109. data/vendor/listen/lib/listen/adapters/bsd.rb +0 -75
  110. data/vendor/listen/lib/listen/adapters/darwin.rb +0 -48
  111. data/vendor/listen/lib/listen/adapters/linux.rb +0 -81
  112. data/vendor/listen/lib/listen/adapters/polling.rb +0 -58
  113. data/vendor/listen/lib/listen/adapters/windows.rb +0 -91
  114. data/vendor/listen/lib/listen/directory_record.rb +0 -406
  115. data/vendor/listen/lib/listen/listener.rb +0 -323
  116. data/vendor/listen/lib/listen/turnstile.rb +0 -32
  117. data/vendor/listen/lib/listen/version.rb +0 -3
  118. data/vendor/listen/lib/listen.rb +0 -54
  119. data/vendor/listen/listen.gemspec +0 -28
  120. data/vendor/listen/spec/listen/adapter_spec.rb +0 -149
  121. data/vendor/listen/spec/listen/adapters/bsd_spec.rb +0 -36
  122. data/vendor/listen/spec/listen/adapters/darwin_spec.rb +0 -37
  123. data/vendor/listen/spec/listen/adapters/linux_spec.rb +0 -47
  124. data/vendor/listen/spec/listen/adapters/polling_spec.rb +0 -68
  125. data/vendor/listen/spec/listen/adapters/windows_spec.rb +0 -30
  126. data/vendor/listen/spec/listen/directory_record_spec.rb +0 -1250
  127. data/vendor/listen/spec/listen/listener_spec.rb +0 -258
  128. data/vendor/listen/spec/listen/turnstile_spec.rb +0 -56
  129. data/vendor/listen/spec/listen_spec.rb +0 -67
  130. data/vendor/listen/spec/spec_helper.rb +0 -25
  131. data/vendor/listen/spec/support/adapter_helper.rb +0 -666
  132. data/vendor/listen/spec/support/directory_record_helper.rb +0 -57
  133. data/vendor/listen/spec/support/fixtures_helper.rb +0 -29
  134. data/vendor/listen/spec/support/listeners_helper.rb +0 -179
  135. data/vendor/listen/spec/support/platform_helper.rb +0 -15
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.25
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Natalie Weizenbaum
@@ -10,8 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-07-07 00:00:00.000000000 Z
13
+ date: 2017-07-12 00:00:00.000000000 Z
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: sass-listen
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: 3.0.7
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: 3.0.7
15
29
  - !ruby/object:Gem::Dependency
16
30
  name: yard
17
31
  requirement: !ruby/object:Gem::Requirement
@@ -124,7 +138,6 @@ files:
124
138
  - lib/sass/script.rb
125
139
  - lib/sass/script/css_lexer.rb
126
140
  - lib/sass/script/css_parser.rb
127
- - lib/sass/script/css_variable_warning.rb
128
141
  - lib/sass/script/functions.rb
129
142
  - lib/sass/script/lexer.rb
130
143
  - lib/sass/script/parser.rb
@@ -144,7 +157,9 @@ files:
144
157
  - lib/sass/script/value/arg_list.rb
145
158
  - lib/sass/script/value/base.rb
146
159
  - lib/sass/script/value/bool.rb
160
+ - lib/sass/script/value/callable.rb
147
161
  - lib/sass/script/value/color.rb
162
+ - lib/sass/script/value/function.rb
148
163
  - lib/sass/script/value/helpers.rb
149
164
  - lib/sass/script/value/list.rb
150
165
  - lib/sass/script/value/map.rb
@@ -207,10 +222,8 @@ files:
207
222
  - lib/sass/tree/warn_node.rb
208
223
  - lib/sass/tree/while_node.rb
209
224
  - lib/sass/util.rb
210
- - lib/sass/util/cross_platform_random.rb
211
225
  - lib/sass/util/multibyte_string_scanner.rb
212
226
  - lib/sass/util/normalized_map.rb
213
- - lib/sass/util/ordered_hash.rb
214
227
  - lib/sass/util/subset_map.rb
215
228
  - lib/sass/util/test.rb
216
229
  - lib/sass/version.rb
@@ -251,7 +264,6 @@ files:
251
264
  - test/sass/results/if.css
252
265
  - test/sass/results/import.css
253
266
  - test/sass/results/import_charset.css
254
- - test/sass/results/import_charset_1_8.css
255
267
  - test/sass/results/import_charset_ibm866.css
256
268
  - test/sass/results/import_content.css
257
269
  - test/sass/results/line_numbers.css
@@ -301,7 +313,6 @@ files:
301
313
  - test/sass/templates/if.sass
302
314
  - test/sass/templates/import.sass
303
315
  - test/sass/templates/import_charset.sass
304
- - test/sass/templates/import_charset_1_8.sass
305
316
  - test/sass/templates/import_charset_ibm866.sass
306
317
  - test/sass/templates/import_content.sass
307
318
  - test/sass/templates/importee.less
@@ -341,42 +352,6 @@ files:
341
352
  - test/sass/util_test.rb
342
353
  - test/sass/value_helpers_test.rb
343
354
  - test/test_helper.rb
344
- - vendor/listen/CHANGELOG.md
345
- - vendor/listen/CONTRIBUTING.md
346
- - vendor/listen/Gemfile
347
- - vendor/listen/Guardfile
348
- - vendor/listen/LICENSE
349
- - vendor/listen/README.md
350
- - vendor/listen/Rakefile
351
- - vendor/listen/Vagrantfile
352
- - vendor/listen/lib/listen.rb
353
- - vendor/listen/lib/listen/adapter.rb
354
- - vendor/listen/lib/listen/adapters/bsd.rb
355
- - vendor/listen/lib/listen/adapters/darwin.rb
356
- - vendor/listen/lib/listen/adapters/linux.rb
357
- - vendor/listen/lib/listen/adapters/polling.rb
358
- - vendor/listen/lib/listen/adapters/windows.rb
359
- - vendor/listen/lib/listen/directory_record.rb
360
- - vendor/listen/lib/listen/listener.rb
361
- - vendor/listen/lib/listen/turnstile.rb
362
- - vendor/listen/lib/listen/version.rb
363
- - vendor/listen/listen.gemspec
364
- - vendor/listen/spec/listen/adapter_spec.rb
365
- - vendor/listen/spec/listen/adapters/bsd_spec.rb
366
- - vendor/listen/spec/listen/adapters/darwin_spec.rb
367
- - vendor/listen/spec/listen/adapters/linux_spec.rb
368
- - vendor/listen/spec/listen/adapters/polling_spec.rb
369
- - vendor/listen/spec/listen/adapters/windows_spec.rb
370
- - vendor/listen/spec/listen/directory_record_spec.rb
371
- - vendor/listen/spec/listen/listener_spec.rb
372
- - vendor/listen/spec/listen/turnstile_spec.rb
373
- - vendor/listen/spec/listen_spec.rb
374
- - vendor/listen/spec/spec_helper.rb
375
- - vendor/listen/spec/support/adapter_helper.rb
376
- - vendor/listen/spec/support/directory_record_helper.rb
377
- - vendor/listen/spec/support/fixtures_helper.rb
378
- - vendor/listen/spec/support/listeners_helper.rb
379
- - vendor/listen/spec/support/platform_helper.rb
380
355
  homepage: http://sass-lang.com/
381
356
  licenses:
382
357
  - MIT
@@ -389,7 +364,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
389
364
  requirements:
390
365
  - - ">="
391
366
  - !ruby/object:Gem::Version
392
- version: 1.8.7
367
+ version: 2.0.0
393
368
  required_rubygems_version: !ruby/object:Gem::Requirement
394
369
  requirements:
395
370
  - - ">="
@@ -1,52 +0,0 @@
1
- module Sass
2
- module Script
3
- # An object tracking whether a warning has been emitted for a given script
4
- # tree.
5
- #
6
- # This is shared among all objects in a script tree. Whenever any of those
7
- # objects encounters a situation in which it wouldn't produce semantically
8
- # identical CSS to its input, it calls \{#warn!\}. The first time \{#warn!}
9
- # is called for a given warning object, it prints a deprecation warning.
10
- class CssVariableWarning
11
- def initialize
12
- @warned = false
13
- @value = nil
14
- end
15
-
16
- # Sets the root of the script tree that this warning refers to.
17
- #
18
- # @param value [Sass::Script::Tree::Node]
19
- def value=(value)
20
- warn_called = @warned && !@value
21
- @value = value
22
- print_warning if warn_called
23
- end
24
-
25
- # The first time this is called, it prints a deprecation warning.
26
- #
27
- # This may be called before \{#value=}. If it is, the warning is emitted
28
- # once the script tree is set.
29
- def warn!
30
- return if @warned
31
- @warned = true
32
- return unless @value
33
-
34
- print_warning
35
- end
36
-
37
- private
38
-
39
- # Prints this node's warning.
40
- def print_warning
41
- of_filename = " of #{@value.filename}" if @value.filename
42
- Sass::Util.sass_warn(
43
- "DEPRECATION WARNING on line #{@value.line}#{of_filename}:\n" +
44
- "Sass 3.6 will change the way CSS variables are parsed. Instead of being parsed as\n" +
45
- "normal properties, they will not allow any Sass-specific behavior other than \#{}.\n" +
46
- "For forwards-compatibility, use \#{}:\n" +
47
- "\n" +
48
- " --variable: \#{#{@value.to_sass}};")
49
- end
50
- end
51
- end
52
- end
@@ -1,19 +0,0 @@
1
- module Sass
2
- module Util
3
- # Ruby 1.8 doesn't support an actual Random class with a settable seed.
4
- class CrossPlatformRandom
5
- def initialize(seed = nil)
6
- if Sass::Util.ruby1_8?
7
- srand(seed) if seed
8
- else
9
- @random = seed ? ::Random.new(seed) : ::Random.new
10
- end
11
- end
12
-
13
- def rand(*args)
14
- return @random.rand(*args) if @random
15
- Kernel.rand(*args)
16
- end
17
- end
18
- end
19
- end
@@ -1,192 +0,0 @@
1
- # Copyright (c) 2005-2013 David Heinemeier Hansson
2
- #
3
- # Permission is hereby granted, free of charge, to any person obtaining
4
- # a copy of this software and associated documentation files (the
5
- # "Software"), to deal in the Software without restriction, including
6
- # without limitation the rights to use, copy, modify, merge, publish,
7
- # distribute, sublicense, and/or sell copies of the Software, and to
8
- # permit persons to whom the Software is furnished to do so, subject to
9
- # the following conditions:
10
- #
11
- # The above copyright notice and this permission notice shall be
12
- # included in all copies or substantial portions of the Software.
13
- #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
-
22
- # This class was copied from an old version of ActiveSupport.
23
- class OrderedHash < ::Hash
24
- # In MRI the Hash class is core and written in C. In particular, methods are
25
- # programmed with explicit C function calls and polymorphism is not honored.
26
- #
27
- # For example, []= is crucial in this implementation to maintain the @keys
28
- # array but hash.c invokes rb_hash_aset() originally. This prevents method
29
- # reuse through inheritance and forces us to reimplement stuff.
30
- #
31
- # For instance, we cannot use the inherited #merge! because albeit the algorithm
32
- # itself would work, our []= is not being called at all by the C code.
33
-
34
- def initialize(*args)
35
- super
36
- @keys = []
37
- end
38
-
39
- def self.[](*args)
40
- ordered_hash = new
41
-
42
- if args.length == 1 && args.first.is_a?(Array)
43
- args.first.each do |key_value_pair|
44
- next unless key_value_pair.is_a?(Array)
45
- ordered_hash[key_value_pair[0]] = key_value_pair[1]
46
- end
47
-
48
- return ordered_hash
49
- end
50
-
51
- unless args.size.even?
52
- raise ArgumentError.new("odd number of arguments for Hash")
53
- end
54
-
55
- args.each_with_index do |val, ind|
56
- next if ind.odd?
57
- ordered_hash[val] = args[ind + 1]
58
- end
59
-
60
- ordered_hash
61
- end
62
-
63
- def initialize_copy(other)
64
- super
65
- # make a deep copy of keys
66
- @keys = other.keys
67
- end
68
-
69
- def []=(key, value)
70
- @keys << key unless has_key?(key)
71
- super
72
- end
73
-
74
- def delete(key)
75
- if has_key? key
76
- index = @keys.index(key)
77
- @keys.delete_at index
78
- end
79
- super
80
- end
81
-
82
- def delete_if
83
- super
84
- sync_keys!
85
- self
86
- end
87
-
88
- def reject!
89
- super
90
- sync_keys!
91
- self
92
- end
93
-
94
- def reject
95
- dup.reject! {|h, k| yield h, k}
96
- end
97
-
98
- def keys
99
- @keys.dup
100
- end
101
-
102
- def values
103
- @keys.map {|key| self[key]}
104
- end
105
-
106
- def to_hash
107
- self
108
- end
109
-
110
- def to_a
111
- @keys.map {|key| [key, self[key]]}
112
- end
113
-
114
- def each_key
115
- return to_enum(:each_key) unless block_given?
116
- @keys.each {|key| yield key}
117
- self
118
- end
119
-
120
- def each_value
121
- return to_enum(:each_value) unless block_given?
122
- @keys.each {|key| yield self[key]}
123
- self
124
- end
125
-
126
- def each
127
- return to_enum(:each) unless block_given?
128
- @keys.each {|key| yield [key, self[key]]}
129
- self
130
- end
131
-
132
- def each_pair
133
- return to_enum(:each_pair) unless block_given?
134
- @keys.each {|key| yield key, self[key]}
135
- self
136
- end
137
-
138
- alias_method :select, :find_all
139
-
140
- def clear
141
- super
142
- @keys.clear
143
- self
144
- end
145
-
146
- def shift
147
- k = @keys.first
148
- v = delete(k)
149
- [k, v]
150
- end
151
-
152
- def merge!(other_hash)
153
- if block_given?
154
- other_hash.each {|k, v| self[k] = key?(k) ? yield(k, self[k], v) : v}
155
- else
156
- other_hash.each {|k, v| self[k] = v}
157
- end
158
- self
159
- end
160
-
161
- alias_method :update, :merge!
162
-
163
- def merge(other_hash)
164
- if block_given?
165
- dup.merge!(other_hash) {|k, v1, v2| yield k, v1, v2}
166
- else
167
- dup.merge!(other_hash)
168
- end
169
- end
170
-
171
- # When replacing with another hash, the initial order of our keys must come from the other hash --
172
- # ordered or not.
173
- def replace(other)
174
- super
175
- @keys = other.keys
176
- self
177
- end
178
-
179
- def invert
180
- OrderedHash[to_a.map! {|key_value_pair| key_value_pair.reverse}]
181
- end
182
-
183
- def inspect
184
- "#<OrderedHash #{super}>"
185
- end
186
-
187
- private
188
-
189
- def sync_keys!
190
- @keys.delete_if {|k| !has_key?(k)}
191
- end
192
- end
@@ -1,5 +0,0 @@
1
- @charset "IBM866";
2
- @import url(foo.css);
3
- .foo { a: b; }
4
-
5
- .bar { a: �; }
@@ -1,6 +0,0 @@
1
- .foo
2
- a: b
3
-
4
- @import "foo.css"
5
-
6
- @import "imported_charset_ibm866"
@@ -1 +0,0 @@
1
- # Moved to [Github releases](https://github.com/guard/listen/releases) page.
@@ -1,38 +0,0 @@
1
- Contribute to Listen
2
- ===================
3
-
4
- File an issue
5
- -------------
6
-
7
- You can report bugs and feature requests to [GitHub Issues](https://github.com/guard/listen/issues).
8
-
9
- **Please don't ask question in the issue tracker**, instead ask them in our
10
- [Google group](http://groups.google.com/group/guard-dev) or on `#guard` (irc.freenode.net).
11
-
12
- Try to figure out where the issue belongs to: Is it an issue with Listen itself or with Guard?
13
-
14
- When you file a bug, please try to follow these simple rules if applicable:
15
-
16
- * Make sure you run Listen with `bundle exec` first.
17
- * Add your `Guardfile` (if used) and `Gemfile` to the issue.
18
- * Make sure that the issue is reproducible with your description.
19
-
20
- **It's most likely that your bug gets resolved faster if you provide as much information as possible!**
21
-
22
- Development
23
- -----------
24
-
25
- * Documentation hosted at [RubyDoc](http://rubydoc.info/github/guard/listen/master/frames).
26
- * Source hosted at [GitHub](https://github.com/guard/listen).
27
-
28
- Pull requests are very welcome! Please try to follow these simple rules if applicable:
29
-
30
- * Please create a topic branch for every separate change you make.
31
- * Make sure your patches are well tested. All specs run with `rake spec` must pass.
32
- * Update the [Yard](http://yardoc.org/) documentation.
33
- * Update the [README](https://github.com/guard/listen/blob/master/README.md).
34
- * Update the [CHANGELOG](https://github.com/guard/listen/blob/master/CHANGELOG.md) for noteworthy changes.
35
- * Please **do not change** the version number.
36
-
37
- For questions please join us in our [Google group](http://groups.google.com/group/guard-dev) or on
38
- `#guard` (irc.freenode.net).
@@ -1,20 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- gem 'rake'
6
-
7
- require 'rbconfig'
8
- gem 'wdm', '>= 0.1.0' if RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
9
-
10
- group :development do
11
- gem 'guard-rspec'
12
- gem 'yard'
13
- gem 'redcarpet'
14
- gem 'pimpmychangelog'
15
- end
16
-
17
- group :test do
18
- gem 'rspec'
19
- gem 'coveralls', :require => false
20
- end
@@ -1,8 +0,0 @@
1
- guard :rspec, :all_on_start => false, :all_after_pass => false do
2
- watch(%r{^spec/.+_spec\.rb$})
3
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
4
- watch('spec/support/adapter_helper.rb') { "spec/listen/adapters" }
5
- watch('spec/support/listener_helper.rb') { "spec/listen/listener_spec.rb" }
6
- watch('spec/support/fixtures_helper.rb') { "spec" }
7
- watch('spec/spec_helper.rb') { "spec" }
8
- end
@@ -1,20 +0,0 @@
1
- Copyright (c) 2013 Thibaud Guillaume-Gentil
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.