backbonejs-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Backbonejs
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -30,25 +30,25 @@ module Backbonejs
30
30
  new_file = "public/javascripts/#{file_name}.js"
31
31
 
32
32
 
33
- begin
34
- c = Curl::Easy.new(file_url)
35
- c.perform
36
-
37
- if File.exist?(new_file)
38
- puts "Skipping #{file_name}.js because it already exists"
39
- else
40
- puts "Generating #{new_file}"
41
- create_file new_file
42
- append_to_file new_file, c.body_str
43
- end
44
-
45
- rescue
46
- puts "Connection to #{the_url} failed!"
47
- puts "Falling back to copying over a, most likely, older version."
33
+ #begin
34
+ # c = Curl::Easy.new(file_url)
35
+ # c.perform
36
+ #
37
+ # if File.exist?(new_file)
38
+ # puts "Skipping #{file_name}.js because it already exists"
39
+ # else
40
+ # puts "Generating #{new_file}"
41
+ # create_file new_file
42
+ # append_to_file new_file, c.body_str
43
+ # end
44
+ #
45
+ # rescue
46
+ # puts "Connection to #{the_url} failed!"
47
+ # puts "Falling back to copying over a, most likely, older version."
48
48
 
49
49
  say_status("copying", "#{file_name}.js", :green)
50
50
  copy_file "#{file_name}.js", "public/javascripts/#{file_name}.js"
51
- end
51
+ # end
52
52
 
53
53
  end
54
54
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: backbonejs-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrew Gertig