grease 0.3.0 → 0.3.1

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: 675b488e6508acfcaeb2550ff3e1c692a8655973
4
- data.tar.gz: 2d8dc885335d60e6c1aa501e7d4bbdb1f4c9e937
3
+ metadata.gz: 54e6eb00d0149184d210574259a88637bbf648f8
4
+ data.tar.gz: 360f466f955e5c7cc06a3eecbdbe2f5a5b34f462
5
5
  SHA512:
6
- metadata.gz: ac6e33abceb58f790587a9096cbdfc24da4421a4d31587d1f60447717d2b974ac9a7c506647a96f1fd47765be620f88520857d7c3170eecf3680903f0a8fc6b9
7
- data.tar.gz: 266f786689c1d25b42e8937e58a499c161e57e0aa719778dd8e180b58db07a4d57acaa8bcd2aac57c96c99c4b92bf8dbd061acbfaf6638dc00f530fc3fd5fe73
6
+ metadata.gz: 74ad8f8978ac699172b4802025fcbcd8f3eae83ed1ce6af9436285d7bfd66876dad6544bccb88b884b8ee1a8d9259762e3389e234363838a54d05768b76f5135
7
+ data.tar.gz: 4d33e50e7247834e6579906b64f75010967218a4d45ecccbe621a6cb8ce35236a0e06d619b79282351aa384ac7c9a9c2dd9dec1c6a2ddeefed74cf793aa938c0
@@ -1,4 +1,8 @@
1
1
  # CHANGELOG
2
+ ## [0.3.1](https://github.com/yasaichi/grease/releases/tag/v0.3.1) (January 29, 2017)
3
+ * [Improve dummy app's configuration](https://github.com/yasaichi/grease/pull/8)
4
+ * [Fix coverage report settings](https://github.com/yasaichi/grease/pull/7)
5
+
2
6
  ## [0.3.0](https://github.com/yasaichi/grease/releases/tag/v0.3.0) (November 13, 2016)
3
7
  * [Improve Grease::Adapter#inspect](https://github.com/yasaichi/grease/pull/6)
4
8
 
data/README.md CHANGED
@@ -32,10 +32,6 @@ $ gem install grease
32
32
  If you'd like to use `Tilt::HamlTemplate` in Sprockets, add code like this:
33
33
 
34
34
  ```ruby
35
- # Sprockets 3
36
- register_engine ".haml", Grease.apply(Tilt::HamlTemplate), mime_type: "text/html", silence_deprecation: true
37
-
38
- # Sprockets 4+
39
35
  register_mime_type "text/haml", extensions: %w(.haml .html.haml)
40
36
  register_transformer "text/haml", "text/html", Grease.apply(Tilt::HamlTemplate)
41
37
  ```
@@ -2,7 +2,7 @@ require "grease/adapter"
2
2
  require "grease/version"
3
3
 
4
4
  module Grease
5
- def self.apply(engine)
6
- Grease::Adapter.new(engine)
5
+ def self.apply(template_class)
6
+ Grease::Adapter.new(template_class)
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Grease
2
- VERSION = "0.3.0".freeze
2
+ VERSION = "0.3.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grease
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yasaichi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-12 00:00:00.000000000 Z
11
+ date: 2017-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: codeclimate-test-reporter
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: haml
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '4.2'
97
+ - !ruby/object:Gem::Dependency
98
+ name: reek
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rubocop
99
113
  requirement: !ruby/object:Gem::Requirement