railsthemes 1.0.2 → 1.0.3

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/Gemfile CHANGED
@@ -5,6 +5,10 @@ gemspec
5
5
  gem 'thor'
6
6
  gem 'rest-client'
7
7
 
8
+ group :development do
9
+ gem 'gem-release'
10
+ end
11
+
8
12
  # development gems
9
13
  group :test do
10
14
  gem 'rspec'
data/README.md CHANGED
@@ -22,17 +22,15 @@ Not sure if this will work for Windows users due to invoking tar on the command-
22
22
 
23
23
  ## Developer notes
24
24
 
25
- To cut a release, the process I've been using is:
25
+ To cut a release, I've been using the gem-release gem:
26
26
 
27
- installer> gem build railsthemes.gemspec
28
- Successfully built RubyGem
29
- Name: railsthemes
30
- Version: 1.0.0
31
- File: railsthemes-1.0.0.gem
27
+ installer> gem bump --version patch
32
28
 
33
- installer> gem push railsthemes-1.0.0.gem
34
- Pushing gem to https://rubygems.org...
35
- Successfully registered gem: railsthemes (1.0.0)
29
+ inspect the commit created
30
+
31
+ installer> gem tag
32
+
33
+ Changing patch to minor or major as useful. For more thorough documentation, see [gem-release](https://github.com/svenfuchs/gem-release).
36
34
 
37
35
  ## Contributing
38
36
 
data/bin/railsthemes CHANGED
@@ -20,6 +20,11 @@ class Installer < Thor
20
20
  end
21
21
  end
22
22
 
23
+ desc "version", "See what version you have installed"
24
+ def version
25
+ puts Railsthemes::VERSION
26
+ end
27
+
23
28
  # AP: other options could include list, remove, help, etc.
24
29
  end
25
30
 
@@ -96,7 +96,6 @@ module Railsthemes
96
96
  begin
97
97
  url = URI.parse(server_request_url)
98
98
  http = Net::HTTP.new url.host, url.port
99
- http = Net::HTTP.new url.host, url.port
100
99
  if server_request_url =~ /^https/
101
100
  http.use_ssl = true
102
101
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
@@ -185,7 +184,7 @@ class RailsthemesController < ApplicationController
185
184
  render :layout => 'application'
186
185
  end
187
186
 
188
- # this is a special layout
187
+ # this is a special layout for landing and home pages
189
188
  def landing
190
189
  render :layout => 'landing'
191
190
  end
@@ -199,6 +198,7 @@ end
199
198
  last = lines.pop
200
199
  lines << " match 'railsthemes/landing' => 'railsthemes#landing'"
201
200
  lines << " match 'railsthemes/inner' => 'railsthemes#inner'"
201
+ lines << " match 'railsthemes/jquery_ui' => 'railsthemes#jquery_ui'"
202
202
  lines << last
203
203
  File.open('config/routes.rb', 'w') do |f|
204
204
  lines.each do |line|
@@ -234,14 +234,15 @@ Yay! Your theme is installed!
234
234
  =============================
235
235
 
236
236
  What now?
237
- 1) Ensure your new application layout file contains everything that you wanted
237
+ 1) Remove or comment out your old stylesheets, as these may conflict with the new theme
238
+ 2) Ensure your new application layout file contains everything that you wanted
238
239
  from the old one.
239
- 2) Restart your development server if it is currently running (the asset pipeline can
240
+ 3) Restart your development server if it is currently running (the asset pipeline can
240
241
  be finnicky.)
241
- 3) Check out the samples at:
242
+ 4) Check out the samples at:
242
243
  http://localhost:3000/railsthemes/landing
243
244
  http://localhost:3000/railsthemes/inner
244
- 4) Let us know how it went: @railsthemes or team@railsthemes.com
245
+ 5) Let us know how it went: @railsthemes or support@railsthemes.com
245
246
  EOS
246
247
  end
247
248
 
@@ -1,5 +1,5 @@
1
1
  module Railsthemes
2
2
  unless defined?(Railsthemes::VERSION)
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railsthemes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Railsthemes
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-28 00:00:00 Z
18
+ date: 2012-05-30 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thor