mdtex 0.0.1 → 0.0.2

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: 093085c935da9524018884975a02cb21f26d5ee9
4
- data.tar.gz: 460c04930e13ff510ad36f97082aa9ca00cf3d52
3
+ metadata.gz: ab85bbc1b220668606e0146be31524f7c71c98cb
4
+ data.tar.gz: 3211094892f755ffccd5d70a67749f188264f3f9
5
5
  SHA512:
6
- metadata.gz: c1e6c6822cf0966d233fbba05d20f4b24993d11a6a73696d394836d795f65380d40eed160b91e1770bdf97bc38c629bc21554d99c5e3bbe4f4298c7fcc2a720e
7
- data.tar.gz: 51a9fbb06f040d4ff42688cc8ec55afe5b94d5483070258f520cfac6d5c41a7b4f2043e2e63af3417d21d9ae412b6737c9d735a2164dface02cae923d4564e35
6
+ metadata.gz: 8472ed3e1857b8c38eb0c0abfd84e3973efa4b4fd3f3e618ee7bbf629012fd0914d9d356cc2d738a2d8bf814cb1258ac04c7abd3a42cf8a00534dfe82f2db166
7
+ data.tar.gz: 90f8ca78a657dde3220163187ff1ae275442ca5f48910b2ebbb7cb34a11cccf6eeac0ea5b8b39bca4e0064329b95d8aeae0f51c4ef6d1ab22c3fbbaad6abce3b
@@ -2,11 +2,12 @@ include Mdtex::load_config
2
2
 
3
3
  verbose false
4
4
 
5
- directory TEMP_DIR
6
- directory DEST_DIR
7
5
  desc "Build #{PDF_FILE} into #{File.basename(DEST_DIR)}"
8
6
  task build: File.join(DEST_DIR, PDF_FILE)
9
7
 
8
+ directory TEMP_DIR
9
+ directory DEST_DIR
10
+
10
11
  # Copy SRC_DIR/* (exclude *.md) to TEMP_DIR
11
12
  rule %r{^#{TEMP_DIR}/(?!.+\.md$)} => "%{^#{TEMP_DIR},#{SRC_DIR}}p" do |task|
12
13
  Mdtex::make_target_directory(task.name)
@@ -46,6 +47,6 @@ file File.join(TEMP_DIR, PDF_FILE) => File.join(TEMP_DIR, DVI_FILE) do |task|
46
47
  end
47
48
 
48
49
  # Copy PDF_FILE to DEST_DIR
49
- file File.join(DEST_DIR, PDF_FILE) => File.join(TEMP_DIR, PDF_FILE) do |task|
50
+ file File.join(DEST_DIR, PDF_FILE) => [File.join(TEMP_DIR, PDF_FILE), DEST_DIR] do |task|
50
51
  cp task.prerequisites[0], DEST_DIR
51
52
  end
@@ -1,3 +1,3 @@
1
1
  module Mdtex
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdtex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - izumin5210
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-28 00:00:00.000000000 Z
11
+ date: 2014-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -117,4 +117,3 @@ signing_key:
117
117
  specification_version: 4
118
118
  summary: Make LaTeX document with Markdown
119
119
  test_files: []
120
- has_rdoc: