smt_rails 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 67482832c9db73177494fbbbfcd75535949253c8
4
+ data.tar.gz: 72a2983d11f65ec41d3f0532bb3da0b2dc1d8ede
5
+ SHA512:
6
+ metadata.gz: 54bab999bc0da6968065b98bac63f0758d675906694ebf8db1fc1c8ca3e53ec5e789aaadce5f36760be26138ae6df9ec3af72b8de00e8b80df3b9de9d72d343a
7
+ data.tar.gz: 234db24b84f1bfb0de956d616adb303fcbf9d84ec4656ade4923efd3b37d627969c56cdcc963bd4bbfbfa7cc8aa900900c97814af06cdb361ab9e6b464cb09c7
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.1.1
@@ -10,12 +10,14 @@ module SmtRails
10
10
  # end
11
11
 
12
12
  module Config
13
- attr_accessor :template_base_path, :template_extension, :action_view_key, :template_namespace
13
+ extend self
14
+
15
+ attr_writer :template_base_path, :template_extension, :action_view_key, :template_namespace
14
16
 
15
17
  def configure
16
18
  yield self
17
19
  end
18
-
20
+
19
21
  def template_base_path
20
22
  @template_base_path ||= Rails.root.join("app", "templates")
21
23
  end
@@ -23,11 +25,11 @@ module SmtRails
23
25
  def template_extension
24
26
  @template_extension ||= 'mustache'
25
27
  end
26
-
28
+
27
29
  def action_view_key
28
30
  @action_view_key ||= 'mustache'
29
31
  end
30
-
32
+
31
33
  def template_namespace
32
34
  @template_namespace ||= 'SMT'
33
35
  end
@@ -2,9 +2,7 @@ require 'tilt'
2
2
 
3
3
  module SmtRails
4
4
  class Tilt < Tilt::Template
5
- def self.default_mime_type
6
- 'application/javascript'
7
- end
5
+ self.default_mime_type = 'application/javascript'
8
6
 
9
7
  def prepare
10
8
  @namespace = "this.#{SmtRails.template_namespace}"
@@ -1,3 +1,3 @@
1
1
  module SmtRails
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
@@ -532,4 +532,4 @@
532
532
 
533
533
  return exports;
534
534
 
535
- }())));
535
+ }())));
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smt_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
5
- prerelease:
4
+ version: 0.2.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Alexey Vasiliev
@@ -10,70 +9,62 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-04-04 00:00:00.000000000 Z
12
+ date: 2014-03-09 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - '>='
18
+ - - ">="
21
19
  - !ruby/object:Gem::Version
22
20
  version: 3.1.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - '>='
25
+ - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: 3.1.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: tilt
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: 1.3.3
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - '>='
39
+ - - ">="
45
40
  - !ruby/object:Gem::Version
46
41
  version: 1.3.3
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: sprockets
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - '>='
46
+ - - ">="
53
47
  - !ruby/object:Gem::Version
54
48
  version: 2.0.3
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - '>='
53
+ - - ">="
61
54
  - !ruby/object:Gem::Version
62
55
  version: 2.0.3
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: mustache
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - '>='
60
+ - - ">="
69
61
  - !ruby/object:Gem::Version
70
62
  version: 0.99.4
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - '>='
67
+ - - ">="
77
68
  - !ruby/object:Gem::Version
78
69
  version: 0.99.4
79
70
  description: Shared mustache templates for rails 3
@@ -85,8 +76,8 @@ extra_rdoc_files:
85
76
  - LICENSE
86
77
  - README.md
87
78
  files:
88
- - .gitignore
89
- - .ruby-version
79
+ - ".gitignore"
80
+ - ".ruby-version"
90
81
  - Gemfile
91
82
  - LICENSE
92
83
  - README.md
@@ -103,33 +94,26 @@ files:
103
94
  - vendor/assets/javascripts/mustache.js
104
95
  homepage: https://github.com/railsware/smt_rails
105
96
  licenses: []
97
+ metadata: {}
106
98
  post_install_message:
107
99
  rdoc_options:
108
- - --charset=UTF-8
100
+ - "--charset=UTF-8"
109
101
  require_paths:
110
102
  - lib
111
103
  required_ruby_version: !ruby/object:Gem::Requirement
112
- none: false
113
104
  requirements:
114
- - - '>='
105
+ - - ">="
115
106
  - !ruby/object:Gem::Version
116
107
  version: '0'
117
- segments:
118
- - 0
119
- hash: -3287018752011025401
120
108
  required_rubygems_version: !ruby/object:Gem::Requirement
121
- none: false
122
109
  requirements:
123
- - - '>='
110
+ - - ">="
124
111
  - !ruby/object:Gem::Version
125
112
  version: '0'
126
- segments:
127
- - 0
128
- hash: -3287018752011025401
129
113
  requirements: []
130
114
  rubyforge_project:
131
- rubygems_version: 1.8.25
115
+ rubygems_version: 2.2.2
132
116
  signing_key:
133
- specification_version: 3
117
+ specification_version: 4
134
118
  summary: Shared mustache templates for rails 3
135
119
  test_files: []