smurf 1.0.5 → 1.0.6

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/Gemfile CHANGED
@@ -1,8 +1,7 @@
1
1
  source :rubygems
2
2
 
3
- gem "rails", "3.0.3"
4
-
5
3
  group :test do
4
+ gem "rails", "3.0.3"
6
5
  gem "riot", "0.12.0"
7
6
  end
8
7
 
@@ -29,7 +29,7 @@ The following are the rules I applied, gathered from various perusals around the
29
29
  5. Remove comments between `/* ... */` - this could be a problem (esp. for CSS hacks)
30
30
  6. Remove spaces around `;`, `:`, and `,` characters
31
31
  7. Ensure whitespace between closing brackets and periods
32
- 8. Preserves [conditional comments](http://msdn.microsoft.com/en-us/library/121hztk3(VS.94).aspx) in IE (ex: /*@cc_on document.write("this will only write in IE") @*/)
32
+ 8. Preserves [conditional comments](http://msdn.microsoft.com/en-us/library/121hztk3(VS.94\).aspx) in IE (ex: `/*@cc_on document.write("this will only write in IE") @*/`)
33
33
 
34
34
  ## Installation
35
35
 
@@ -61,7 +61,7 @@ Simple:
61
61
 
62
62
  rake
63
63
 
64
- If you want to play around with different versions, you'll need to update the Gemfile version of rails. While Smurf itself should work as is with Rails 3 and Rails 2.3.x, the test setup is different enough between 3 and 2.3.x that I can't make guarantees. If you need a previous version, look for the appropriate tag in the source code.
64
+ If you want to play around with different versions, you'll need to update the Gemfile version of rails. While Smurf itself should work as is with Rails 3 and Rails 2.3.x, the test setup is different enough between 3 and 2.3.x that I can't make guarantees. Currently tests require Rails 3 to be run successfully. If you need a previous version of smurf, look for the appropriate tag in the source code.
65
65
 
66
66
  ## Meta
67
67
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.5
1
+ 1.0.6
@@ -131,7 +131,9 @@ module Smurf
131
131
  @output.write @theA
132
132
  @theA = get
133
133
  break if (@theA == @theB)
134
- raise "Unterminated string literal" if (@theA <= "\n")
134
+
135
+ # raise "Unterminated string literal"
136
+ debugger if (@theA <= "\n")
135
137
  if (@theA == "\\")
136
138
  # allow multi-line strings if each line is terminated by \\n (or \\r\n)
137
139
  if ["\r", "\n"].include? peek
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{smurf}
8
- s.version = "1.0.5"
8
+ s.version = "1.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin 'Gus' Knowlden"]
12
- s.date = %q{2010-11-17}
12
+ s.date = %q{2011-02-10}
13
13
  s.description = %q{Rails plugin to automatically minify JS and CSS when their bundles get cached. Send in those patches!}
14
14
  s.email = %q{gus@thumblemonks.com}
15
15
  s.extra_rdoc_files = [
@@ -65,14 +65,11 @@ Gem::Specification.new do |s|
65
65
  s.specification_version = 3
66
66
 
67
67
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
68
- s.add_runtime_dependency(%q<rails>, ["= 3.0.3"])
69
68
  s.add_development_dependency(%q<riot>, [">= 0"])
70
69
  else
71
- s.add_dependency(%q<rails>, ["= 3.0.3"])
72
70
  s.add_dependency(%q<riot>, [">= 0"])
73
71
  end
74
72
  else
75
- s.add_dependency(%q<rails>, ["= 3.0.3"])
76
73
  s.add_dependency(%q<riot>, [">= 0"])
77
74
  end
78
75
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 5
9
- version: 1.0.5
8
+ - 6
9
+ version: 1.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Justin 'Gus' Knowlden
@@ -14,27 +14,12 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-17 00:00:00 -06:00
17
+ date: 2011-02-10 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: rails
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
- none: false
24
- requirements:
25
- - - "="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 3
29
- - 0
30
- - 3
31
- version: 3.0.3
32
- type: :runtime
33
- prerelease: false
34
- version_requirements: *id001
35
20
  - !ruby/object:Gem::Dependency
36
21
  name: riot
37
- requirement: &id002 !ruby/object:Gem::Requirement
22
+ requirement: &id001 !ruby/object:Gem::Requirement
38
23
  none: false
39
24
  requirements:
40
25
  - - ">="
@@ -44,7 +29,7 @@ dependencies:
44
29
  version: "0"
45
30
  type: :development
46
31
  prerelease: false
47
- version_requirements: *id002
32
+ version_requirements: *id001
48
33
  description: Rails plugin to automatically minify JS and CSS when their bundles get cached. Send in those patches!
49
34
  email: gus@thumblemonks.com
50
35
  executables: []