gakubuchi 1.2.3 → 1.3.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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/lib/gakubuchi/template.rb +2 -1
- data/lib/gakubuchi/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d5aac84118b90bfe6ff298c120189aa4561e4cd
|
4
|
+
data.tar.gz: f963f5d180b747be66a68bdbac981520ee3c3fad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
125
|
-
appraisal
|
125
|
+
# Run RSpec with a specific combination
|
126
|
+
appraisal 'sprockets-rails 3 with sprockets 3' rspec
|
126
127
|
|
127
|
-
# Run
|
128
|
+
# Run RSpec with all combinations
|
128
129
|
appraisal rspec
|
129
130
|
```
|
130
131
|
|
data/lib/gakubuchi/template.rb
CHANGED
@@ -68,7 +68,8 @@ module Gakubuchi
|
|
68
68
|
|
69
69
|
def extract_extname(path)
|
70
70
|
extname = path.extname
|
71
|
-
extname.empty?
|
71
|
+
extname.empty? || extname == ".html" ?
|
72
|
+
extname : "#{extract_extname(path.basename(extname))}#{extname}"
|
72
73
|
end
|
73
74
|
end
|
74
75
|
end
|
data/lib/gakubuchi/version.rb
CHANGED
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.
|
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:
|
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
|