modjs-architecture 0.6.6 → 0.6.7

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 0.6.7
@@ -84,7 +84,7 @@ module ModJS
84
84
  def update(compress = false)
85
85
  read_config
86
86
  compile_templates
87
- update_application_file templates_string
87
+ update_application_file
88
88
  super(compress)
89
89
  end
90
90
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "modjs-architecture"
8
- s.version = "0.6.6"
8
+ s.version = "0.6.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dayton Nolan"]
@@ -1,4 +1,4 @@
1
1
  myapp.Templates = {
2
- "test": function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('<h1> ', title ,' </h1>');}return __p.join('');},
3
- "test_two": function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('I can put anything I want in here ', foo ,'');}return __p.join('');}
4
- }
2
+ "test": function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('<h1> ', title ,' </h1>');}return __p.join('');},
3
+ "test_two": function(obj){var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('I can put anything I want in here ', foo ,'');}return __p.join('');}
4
+ };
@@ -89,13 +89,13 @@ describe ModJS::Blueprint do
89
89
  end
90
90
 
91
91
  after :each do
92
- #FileUtils.rm_rf(TMP_DIR)
92
+ FileUtils.rm_rf(TMP_DIR)
93
93
  end
94
94
 
95
95
  it 'should compile the application file' do
96
96
  File.exists?("#{TMP_DIR}/application/myapp.js").should be_true
97
97
  end
98
- =begin
98
+
99
99
  it 'should compile the test module' do
100
100
  File.exists?("#{TMP_DIR}/application/test.js").should be_true
101
101
  end
@@ -104,7 +104,7 @@ describe ModJS::Blueprint do
104
104
  File.exists?("#{TMP_DIR}/application/templates.js").should be_true
105
105
  "#{TMP_DIR}/application/templates.js".should be_same_file_as "#{FIXTURES}/templates_compiled.js"
106
106
  end
107
- =end
107
+
108
108
  end
109
109
 
110
110
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modjs-architecture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -209,7 +209,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  segments:
211
211
  - 0
212
- hash: -39838364535746874
212
+ hash: -2351702679010492882
213
213
  required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  none: false
215
215
  requirements: