tax_jp 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/build.rake +2 -2
- data/lib/tax_jp/rails/railtie.rb +0 -5
- data/lib/tax_jp/tasks.rb +1 -3
- data/lib/tax_jp/utils.rb +3 -3
- data/lib/tax_jp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ee201740caf3969b9dab28cb9bf98865a4cb579
|
4
|
+
data.tar.gz: 4efb2ee14ca93dce8de611f5239c87347d5efe84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4efb1455831ffc8e6d95ea71fdf2f4216b148253c38f2d79aaf3ba3059940646a90783bdbb8d031cb4c1ca52cbf32bcb98bfc02a4e661fcc1261e5662606d1b
|
7
|
+
data.tar.gz: 300393d90b61f73de8f2a9b6080e88d2118ddc1969fd026cd871ef10e15b5a498ffa66a9083f98cc9d54c3acd0091a85ddf41fcc97d38c921031bd61ed059232
|
data/lib/tasks/build.rake
CHANGED
data/lib/tax_jp/rails/railtie.rb
CHANGED
data/lib/tax_jp/tasks.rb
CHANGED
data/lib/tax_jp/utils.rb
CHANGED
@@ -12,9 +12,9 @@ module TaxJp
|
|
12
12
|
YAML.load_file(File.join(gem_dir, 'data', filename))
|
13
13
|
end
|
14
14
|
|
15
|
-
def render(
|
16
|
-
src = File.join(gem_dir, 'templates',
|
17
|
-
dest = File.join(gem_dir,
|
15
|
+
def render(filename)
|
16
|
+
src = File.join(gem_dir, 'templates', filename + '.erb')
|
17
|
+
dest = File.join(gem_dir, filename)
|
18
18
|
FileUtils.mkdir_p(File.dirname(dest))
|
19
19
|
File.write(dest, ERB.new(File.read(src), 0, '-').result)
|
20
20
|
end
|
data/lib/tax_jp/version.rb
CHANGED