middleman-typescript 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: 27428c33e45143c8ea66e3c5278190524814815e
4
- data.tar.gz: 6ce4eb42672b0b8ac293f8c12ad34908386741fc
3
+ metadata.gz: e9e0fef9355e45c8e1022e30805a7d82f308ed49
4
+ data.tar.gz: 8bc4356e30cdae8bb9a898b859ce8996777c9b8c
5
5
  SHA512:
6
- metadata.gz: a8c59c0dbacebc4b124395f94d7b879a632e6e8242eaf895a1427ccfc2947217432e75f74a49ed4c883b62d3cf25b35a1c8fa856950db7e0b572d0236d9b0668
7
- data.tar.gz: fc376fac243a1c10829da1e5e0ef2b7f7ca655e80f26c7673dad50cc1be0e10b310983eeb34610f7540b42d90dc40174f22ab68bb29214683af5c1db1fb354c2
6
+ metadata.gz: 886da94f729233e17be13a406b4ef916c7b3bba173e24997cbd2a19987df1e8311623f5b8e7ff75320619d23a4805457adb3a5d7cfb4dc832db7c4c45786ab12
7
+ data.tar.gz: 9fe3b0830a5b74e309388015ccb409032ca85134663a04c048847e947f6ed111b794eb1558a577997b643a2d38d7505550ff0375046b61bd854a21aa147587a7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- middleman-typescript (0.0.1)
4
+ middleman-typescript (0.0.2)
5
5
  middleman-core (~> 3.2)
6
6
  typescript-node (~> 1.1)
7
7
 
@@ -16,6 +16,7 @@ GEM
16
16
  tzinfo (~> 1.1)
17
17
  celluloid (0.15.2)
18
18
  timers (~> 1.1.0)
19
+ coderay (1.1.0)
19
20
  erubis (2.7.0)
20
21
  ffi (1.9.3)
21
22
  hooks (0.4.0)
@@ -26,6 +27,7 @@ GEM
26
27
  celluloid (>= 0.15.2)
27
28
  rb-fsevent (>= 0.9.3)
28
29
  rb-inotify (>= 0.9)
30
+ method_source (0.8.2)
29
31
  middleman-core (3.3.5)
30
32
  activesupport (~> 4.1.0)
31
33
  bundler (~> 1.1)
@@ -45,12 +47,17 @@ GEM
45
47
  tilt (~> 1.4.1)
46
48
  padrino-support (0.12.3)
47
49
  activesupport (>= 3.1)
50
+ pry (0.10.1)
51
+ coderay (~> 1.1.0)
52
+ method_source (~> 0.8.1)
53
+ slop (~> 3.4)
48
54
  rack (1.5.2)
49
55
  rack-test (0.6.2)
50
56
  rack (>= 1.0)
51
57
  rb-fsevent (0.9.4)
52
58
  rb-inotify (0.9.5)
53
59
  ffi (>= 0.5.0)
60
+ slop (3.6.0)
54
61
  thor (0.19.1)
55
62
  thread_safe (0.3.4)
56
63
  tilt (1.4.1)
@@ -67,3 +74,4 @@ PLATFORMS
67
74
 
68
75
  DEPENDENCIES
69
76
  middleman-typescript!
77
+ pry
@@ -1,4 +1,5 @@
1
1
  require 'typescript-node'
2
+ require 'pry'
2
3
 
3
4
  module Middleman
4
5
  class TypescriptExtension < Extension
@@ -6,7 +7,6 @@ module Middleman
6
7
  def initialize(app, options_hash={}, &block)
7
8
  super
8
9
  app.set :typescript_dir, options.typescript_dir
9
-
10
10
  return unless app.environment == :development
11
11
 
12
12
  app.ready do
@@ -24,6 +24,8 @@ module Middleman
24
24
  File.open export_path, "w" do |f|
25
25
  f.write result.js
26
26
  end
27
+ else
28
+ logger.info "TypeScript: #{result.stderr}"
27
29
  end
28
30
  end
29
31
 
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Typescript
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -18,4 +18,5 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
  spec.add_dependency("middleman-core", ["~> 3.2"])
20
20
  spec.add_dependency("typescript-node", ["~> 1.1"])
21
+ spec.add_development_dependency("pry")
21
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-typescript
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
  - Toyoaki Oko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-28 00:00:00.000000000 Z
11
+ date: 2014-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  description: TypeScript support for middleman
42
56
  email:
43
57
  - chariderpato@gmail.com