swift-boiler 1.0.2 → 1.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 891191bf83184b892d287a05d53ed8ac1c8892b9
4
- data.tar.gz: fcdcf6b95251fd4c4076bdab639c907602c4b1df
3
+ metadata.gz: 9c5edd7874232727722974198d5b4be00e752f79
4
+ data.tar.gz: b54119da952b4c7f0488e6f531130ee9217eecc2
5
5
  SHA512:
6
- metadata.gz: 2d0e3cf7bf1c08b968c3b604b01d7f440ff32487901543d08340261fa497a1dbbb52e6fe97509726f3864c45796874a818ff1104a17926109f4dde9411a7237e
7
- data.tar.gz: 77bb6e4e7c11eee74ae73cc3a5e92ae99a106b41c2665f3ff5ab85cfc34626c335942f0ce10f714bd438d92348e3c623dbe5096395df0efe0a4876e4eee7b442
6
+ metadata.gz: 21d0bd9e3838c263388ed38367d5511382c2546d97f1232f995420a0074c2e40a398582a3589756d6772d77cabbce3202c52564fc0b2a2167c12aaefdfbd6f49
7
+ data.tar.gz: b1443218e0b30cbbcf870c721bb5006a794be23c8db647dc236586d71e7a9c4cb2398cfd4c112591170986519b87d5f654571da28fb8f5bef65eb6a2596794ef
@@ -88,7 +88,7 @@ module Swift
88
88
 
89
89
  def get_template_path_from_name_token(token)
90
90
  template_name = get_template_name_from_token(token)
91
- File.dirname(__FILE__) + '/templates/' + template_name + ".mustache"
91
+ File.dirname(__FILE__) + '/templates/' + template_name + ".mustache.rb"
92
92
  end
93
93
 
94
94
  def get_template_name_from_token(template_name_token)
@@ -1,5 +1,5 @@
1
1
  module Swift
2
2
  module Boiler
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swift-boiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Peres
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-17 00:00:00.000000000 Z
11
+ date: 2017-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -67,12 +67,12 @@ files:
67
67
  - lib/swift/boiler/parser.rb
68
68
  - lib/swift/boiler/scanner.rb
69
69
  - lib/swift/boiler/template.rb
70
- - lib/swift/boiler/templates/controller.mustache
71
- - lib/swift/boiler/templates/model.mustache
72
- - lib/swift/boiler/templates/singleton.mustache
73
- - lib/swift/boiler/templates/table_view_cell.mustache
74
- - lib/swift/boiler/templates/view.mustache
75
- - lib/swift/boiler/templates/viewmodel.mustache
70
+ - lib/swift/boiler/templates/controller.mustache.rb
71
+ - lib/swift/boiler/templates/model.mustache.rb
72
+ - lib/swift/boiler/templates/singleton.mustache.rb
73
+ - lib/swift/boiler/templates/table_view_cell.mustache.rb
74
+ - lib/swift/boiler/templates/view.mustache.rb
75
+ - lib/swift/boiler/templates/viewmodel.mustache.rb
76
76
  - lib/swift/boiler/token.rb
77
77
  - lib/swift/boiler/token_factory.rb
78
78
  - lib/swift/boiler/token_pattern_validator.rb