suspenders 0.2.0 → 0.2.1

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.
@@ -3,9 +3,9 @@ Gem::Specification.new do |s|
3
3
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
- s.name = 'suspenders'
7
- s.version = '0.2.0'
8
- s.date = '2010-11-29'
6
+ s.name = 'suspenders'
7
+ s.version = '0.2.1'
8
+ s.date = '2010-12-15'
9
9
 
10
10
  s.summary = "Generate a Rails app using thoughtbot's best practices."
11
11
  s.description = <<-HERE
@@ -4,7 +4,6 @@
4
4
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
5
5
  <title><%= app_name %></title>
6
6
  <%%= stylesheet_link_tag :flutie, 'screen', :media => 'all', :cache => true %>
7
- <%%= javascript_include_tag "jquery", "jquery-ui", "prefilled_input", "rails", "application", :cache => true %>
8
7
  <%%= csrf_meta_tag %>
9
8
  </head>
10
9
  <body class="<%%= body_class %>">
@@ -33,13 +33,16 @@ end
33
33
 
34
34
  def download_file(uri_string, destination)
35
35
  uri = URI.parse(uri_string)
36
- contents = Net::HTTP.get(uri)
36
+ http = Net::HTTP.new(uri.host, uri.port)
37
+ http.use_ssl = true if uri_string =~ /^https/
38
+ request = Net::HTTP::Get.new(uri.path)
39
+ contents = http.request(request).body
37
40
  path = File.join(destination_root, destination)
38
41
  File.open(path, "w") { |file| file.write(contents) }
39
42
  end
40
43
 
41
44
  def origin
42
- "git://github.com/thoughtbot/suspenders-gem.git"
45
+ "git://github.com/thoughtbot/suspenders.git"
43
46
  end
44
47
 
45
48
  def trout(destination_path)
@@ -9,6 +9,7 @@ gem "hoptoad_notifier"
9
9
  gem "RedCloth", :require => "redcloth"
10
10
  gem "paperclip"
11
11
  gem "will_paginate"
12
+ gem "validation_reflection"
12
13
  gem "formtastic"
13
14
  gem "mysql"
14
15
  gem "flutie"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suspenders
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - thoughtbot
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-29 00:00:00 -05:00
18
+ date: 2010-12-15 00:00:00 -05:00
19
19
  default_executable: suspenders
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency