html2haml 2.0.0 → 2.1.0

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: 95b03c7907b983668eb21e33ac4b0e90e5dd85f9
4
- data.tar.gz: 69ef205bb13c17d15ef4d049f8c3f56a36f4637b
3
+ metadata.gz: 4ea4fc47f04129ec7319391ff8d7b37540b63916
4
+ data.tar.gz: 41d533c8b9145b86c6a826544a03defb22188ad1
5
5
  SHA512:
6
- metadata.gz: df12289977268ce367289cea4bd97e0284532dcfdfb4775f6792899ff396f3dbae95b5a8c63a4459b0474f3dde97f245a6aeb34f6d38b7a720ed5f9c4c87dd3b
7
- data.tar.gz: 30bac502eb17363cf4646d9c4d1674831f37873638f4efec4def2182ac6251f8ff00a6ba6723655a85d6915b86f08a186ebd0499f09a8ff12c6914dd006f31a6
6
+ metadata.gz: 14ff09f53248de46f29ebe2c570c82478b4f6b384bf055a84130ce6a409eb3c6fcf8e18ee833d4167cb33c4d2feb5f9ea2141b3eba022ca278647a822dd5fadf
7
+ data.tar.gz: 817b603e6331163c738fb4076a67aa7d85d1adf4fbe2fa525a75a69a025813c6dc2862aff0c8d25b1cd8be88dc77e13482fdefcb04c449e84cabb50eacd107ed
@@ -1,10 +1,17 @@
1
1
  language: ruby
2
+ sudo: false
3
+
4
+ before_install: gem update bundler --no-document
5
+
2
6
  rvm:
3
- - 2.1.0
7
+ - 2.4.0
8
+ - 2.3.3
9
+ - 2.2.6
10
+ - 2.1.10
4
11
  - 2.0.0
5
12
  - 1.9.3
6
13
  - rbx-2
7
- - jruby-19mode
14
+ - jruby-9.1.7.0
8
15
 
9
16
  gemfile:
10
17
  - Gemfile
@@ -14,3 +21,7 @@ branches:
14
21
  - master
15
22
 
16
23
  script: "bundle exec rake test"
24
+
25
+ matrix:
26
+ allow_failures:
27
+ - rvm: rbx-2
@@ -1,5 +1,10 @@
1
1
  # HTML2Haml Changelog
2
2
 
3
+ ## 2.1.0
4
+
5
+ * Reduce specificity of Haml 4.0 version dependency.
6
+ (thanks to [Ben Sheldon](https://github.com/bensheldon))
7
+
3
8
  ## 2.0.0
4
9
 
5
10
  * Switch to Nokogiri for XML parsing.
data/Gemfile CHANGED
@@ -2,3 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
+ gem 'nokogiri', RUBY_VERSION < '2.1' ? '~> 1.6.0' : '>= 1.7'
@@ -1,4 +1,4 @@
1
- Copyright (c) 2006-2014 Hampton Catlin, Natalie Weizenbaum and Norman Clarke
1
+ Copyright (c) 2006-2017 Hampton Catlin, Natalie Weizenbaum and Norman Clarke
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of
4
4
  this software and associated documentation files (the "Software"), to deal in
data/README.md CHANGED
@@ -70,7 +70,7 @@ See `html2haml --help`:
70
70
 
71
71
  ## License
72
72
 
73
- Copyright (c) 2006-2014 Hampton Catlin, Natalie Weizenbaum and Norman Clarke
73
+ Copyright (c) 2006-2017 Hampton Catlin, Natalie Weizenbaum and Norman Clarke
74
74
 
75
75
  Permission is hereby granted, free of charge, to any person obtaining a copy of
76
76
  this software and associated documentation files (the "Software"), to deal in
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
+ require "bundler/gem_tasks"
1
2
  require "rake/clean"
2
3
  require "rake/testtask"
3
- require "rubygems/package_task"
4
4
 
5
5
  task :default => :test
6
6
 
@@ -22,8 +22,3 @@ end
22
22
 
23
23
  desc "Run Simplecov"
24
24
  task :coverage => [:set_coverage_env, :test]
25
-
26
- gemspec = File.expand_path("../html2haml.gemspec", __FILE__)
27
- if File.exist? gemspec
28
- Gem::PackageTask.new(eval(File.read(gemspec))) { |pkg| }
29
- end
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.description = %q{Converts HTML into Haml}
8
8
  gem.summary = %q{Converts HTML into Haml}
9
9
  gem.homepage = "http://haml.info"
10
+ gem.license = "MIT"
10
11
 
11
12
  gem.files = `git ls-files`.split($\)
12
13
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -17,10 +18,10 @@ Gem::Specification.new do |gem|
17
18
 
18
19
  gem.required_ruby_version = '>= 1.9.2'
19
20
 
20
- gem.add_dependency 'nokogiri', '~> 1.6.0'
21
+ gem.add_dependency 'nokogiri', '>= 1.6.0'
21
22
  gem.add_dependency 'erubis', '~> 2.7.0'
22
23
  gem.add_dependency 'ruby_parser', '~> 3.5'
23
- gem.add_dependency 'haml', '~> 4.0.0'
24
+ gem.add_dependency 'haml', '~> 4.0'
24
25
  gem.add_development_dependency 'simplecov', '~> 0.7.1'
25
26
  gem.add_development_dependency 'minitest', '~> 4.4.0'
26
27
  gem.add_development_dependency 'rake'
@@ -1,3 +1,3 @@
1
1
  module Html2haml
2
- VERSION = "2.0.0"
2
+ VERSION = "2.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html2haml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Norman Clarke
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-19 00:00:00.000000000 Z
12
+ date: 2017-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 1.6.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 1.6.0
28
28
  - !ruby/object:Gem::Dependency
@@ -59,14 +59,14 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: 4.0.0
62
+ version: '4.0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: 4.0.0
69
+ version: '4.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: simplecov
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -139,7 +139,8 @@ files:
139
139
  - test/jruby/html2haml_test.rb
140
140
  - test/test_helper.rb
141
141
  homepage: http://haml.info
142
- licenses: []
142
+ licenses:
143
+ - MIT
143
144
  metadata: {}
144
145
  post_install_message:
145
146
  rdoc_options: []
@@ -157,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
158
  version: '0'
158
159
  requirements: []
159
160
  rubyforge_project:
160
- rubygems_version: 2.4.5
161
+ rubygems_version: 2.6.9
161
162
  signing_key:
162
163
  specification_version: 4
163
164
  summary: Converts HTML into Haml