gakubuchi 1.2.3 → 1.3.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: dfd6e965fec8cad0500f75d122ad38b0fe27e7a1
4
- data.tar.gz: 78b970cc6498188c45bc09dfbc36db4b3011ef27
3
+ metadata.gz: 0d5aac84118b90bfe6ff298c120189aa4561e4cd
4
+ data.tar.gz: f963f5d180b747be66a68bdbac981520ee3c3fad
5
5
  SHA512:
6
- metadata.gz: 1a5c9aa9963c4dfbe0178e3f51fed8f3711f799a79ff3ee227ea6596075013e9e62373d1a023ca25c0e6a988ef4539869449d394e96ce01c3ef69463d590dd3c
7
- data.tar.gz: 0910d6f803aa3af8255bec139329c55373524a61daf42a29f20333a91e70919e8d047043b842d516328d49465e803230051a98390ac699080b8e6369bbbfd67a
6
+ metadata.gz: ca7f0bbff7e8d4d0a1d72f7272f01ed37a5a2336249251882c675810091f7b60b63f2a3c72270c6ab841f71e694c936598d01ecaa875618a68220c234545065a
7
+ data.tar.gz: 1a1127e8783cff92e2b546a7dcabad8f67d8dc6e77db62c852b768eb0c10a86e633e0e456eba5ec64074a3ebe7f040ab9d17f573d9789ca105a035901cdd3adc
data/README.md CHANGED
@@ -115,16 +115,17 @@ You should follow the steps below.
115
115
  4. Push the branch: `git push origin add-new-feature`
116
116
  4. [Send us a pull request](https://help.github.com/articles/using-pull-requests/)
117
117
 
118
- We use [Appraisal](https://github.com/thoughtbot/appraisal) to test with different versions of Rails.
118
+ We use [Appraisal](https://github.com/thoughtbot/appraisal) to test with different combinations of
119
+ [sprockets](https://github.com/rails/sprockets) and [sprockets-rails](https://github.com/rails/sprockets-rails).
119
120
 
120
121
  ```shell
121
122
  bundle install
122
123
  appraisal install
123
124
 
124
- # Run rspec with a specific version of Rails
125
- appraisal rails42x rspec
125
+ # Run RSpec with a specific combination
126
+ appraisal 'sprockets-rails 3 with sprockets 3' rspec
126
127
 
127
- # Run rspec with all versions of Rails
128
+ # Run RSpec with all combinations
128
129
  appraisal rspec
129
130
  ```
130
131
 
@@ -68,7 +68,8 @@ module Gakubuchi
68
68
 
69
69
  def extract_extname(path)
70
70
  extname = path.extname
71
- extname.empty? ? extname : "#{extract_extname(path.basename(extname))}#{extname}"
71
+ extname.empty? || extname == ".html" ?
72
+ extname : "#{extract_extname(path.basename(extname))}#{extname}"
72
73
  end
73
74
  end
74
75
  end
@@ -1,3 +1,3 @@
1
1
  module Gakubuchi
2
- VERSION = "1.2.3".freeze
2
+ VERSION = "1.3.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gakubuchi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yasaichi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-15 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: codeclimate-test-reporter
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '1.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '1.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: haml-rails
85
85
  requirement: !ruby/object:Gem::Requirement