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 +4 -0
- data/README.md +7 -9
- data/bin/railsthemes +5 -0
- data/lib/railsthemes/installer.rb +7 -6
- data/lib/railsthemes/version.rb +1 -1
- metadata +4 -4
data/Gemfile
CHANGED
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,
|
25
|
+
To cut a release, I've been using the gem-release gem:
|
26
26
|
|
27
|
-
installer> gem
|
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
|
-
|
34
|
-
|
35
|
-
|
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
@@ -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)
|
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
|
-
|
240
|
+
3) Restart your development server if it is currently running (the asset pipeline can
|
240
241
|
be finnicky.)
|
241
|
-
|
242
|
+
4) Check out the samples at:
|
242
243
|
http://localhost:3000/railsthemes/landing
|
243
244
|
http://localhost:3000/railsthemes/inner
|
244
|
-
|
245
|
+
5) Let us know how it went: @railsthemes or support@railsthemes.com
|
245
246
|
EOS
|
246
247
|
end
|
247
248
|
|
data/lib/railsthemes/version.rb
CHANGED
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
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-
|
18
|
+
date: 2012-05-30 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: thor
|