angular-rails-templates 0.1.0 → 0.1.1

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: 1a0382ea27ff3c7b1cfb6ea0e66196406cea4f93
4
- data.tar.gz: bd48df6bc60a92033beb772507409bf70e4f2af2
3
+ metadata.gz: 24c37140cf93f2763edaaede689472c9da41f032
4
+ data.tar.gz: 73d1b78bad8d66866d4d624e24c5c8606dd1d3b2
5
5
  SHA512:
6
- metadata.gz: 2111bf9c7c7cfa83ca6fdcdd5a7c05821509f04b85f922ba73f8fb03c9f2ba2f06cc33a580408053ae4bf800b5e6722f4ba0c16b6f45c5977d1e77258a1ffe5a
7
- data.tar.gz: 15b917f2a93c0cef94fb7a2fb040b4026110b78168072398b814d931333e4b3542be4d8e19085dd467dae5a530afd1624f541634846a76721d36f7888aa57d61
6
+ metadata.gz: 0750667db7c8058119939fec8a51f4ee3f96c88eba23696fa44059299b2a21066579ceafdbefc668cadcda6997e4f147886133f43ffb8c861352a7d652f019a4
7
+ data.tar.gz: 314ebbdc4c9e271dfd6933015b2192a84b857184a8054cc54c6a61aec25785afe35d552ee1088b5b6898baa55bd609a683634ed1357ce842da66cde2bf942a04
@@ -1,3 +1,5 @@
1
+ require 'tilt'
2
+
1
3
  module AngularRailsTemplates
2
4
  class Engine < ::Rails::Engine
3
5
  config.angular_templates = ActiveSupport::OrderedOptions.new
@@ -12,7 +14,7 @@ module AngularRailsTemplates
12
14
  begin
13
15
  config.angular_templates.markups << ext if Tilt[ext]
14
16
  rescue LoadError
15
- # They don't have the required libray required. Oh well.
17
+ # They don't have the required library required. Oh well.
16
18
  end
17
19
  end
18
20
 
@@ -45,8 +47,6 @@ module AngularRailsTemplates
45
47
 
46
48
  # This engine wraps the HTML into JS
47
49
  Sprockets.register_engine '.html', AngularRailsTemplates::Template
48
-
49
- app.config.assets.precompile << %r(angular-rails-templates.js)
50
50
  end
51
51
  end
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module AngularRailsTemplates
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -0,0 +1,8 @@
1
+ // Angular Rails Templates <%= AngularRailsTemplates::VERSION %>
2
+ //
3
+ // angular_templates.ignore_prefix: <%= Rails.configuration.angular_templates.ignore_prefix %>
4
+ // angular_templates.markups: <%= Rails.configuration.angular_templates.markups %>
5
+ // angular_templates.htmlcompressor: <%= Rails.configuration.angular_templates.htmlcompressor %>
6
+
7
+ angular.module("<%= Rails.configuration.angular_templates.module_name %>", []);
8
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular-rails-templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Mathieu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-30 00:00:00.000000000 Z
12
+ date: 2014-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -39,6 +39,20 @@ dependencies:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: tilt
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: minitest
44
58
  requirement: !ruby/object:Gem::Requirement
@@ -96,6 +110,7 @@ files:
96
110
  - lib/angular-rails-templates/javascript_template.js.erb
97
111
  - lib/angular-rails-templates/template.rb
98
112
  - lib/angular-rails-templates/version.rb
113
+ - vendor/assets/javascripts/angular-rails-templates.js.erb
99
114
  homepage: https://github.com/pitr/angular-rails-templates
100
115
  licenses:
101
116
  - MIT