radiant-mobile-extension 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg/*
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.1
data/lib/mobile_page.rb CHANGED
@@ -26,6 +26,6 @@ module MobilePage
26
26
  <pre><code><r:unless_mobile>...</r:unless_mobile></code></pre>
27
27
  }
28
28
  tag 'unless_mobile' do |tag|
29
- tag.expand if mobile?
29
+ tag.expand unless mobile?
30
30
  end
31
31
  end
data/mobile_extension.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  # require_dependency 'application_controller'
3
3
 
4
4
  class MobileExtension < Radiant::Extension
5
- version "0.1.0"
5
+ version "0.1.1"
6
6
  description "An easy, cache-friendly mobile version of your site"
7
7
  url "http://github.com/spanner/radiant-mobile-extension"
8
8
 
@@ -0,0 +1,62 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{radiant-mobile-extension}
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["spanner"]
12
+ s.date = %q{2010-10-27}
13
+ s.description = %q{An easy, flexible, cache-friendly mobile version of your site}
14
+ s.email = %q{will@spanner.org}
15
+ s.extra_rdoc_files = [
16
+ "README.md"
17
+ ]
18
+ s.files = [
19
+ ".gitignore",
20
+ "README.md",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "app/views/admin/configuration/_edit_mobile.html.haml",
24
+ "app/views/admin/configuration/_mobile.html.haml",
25
+ "config/initializers/radiant_config.rb",
26
+ "config/locales/en.yml",
27
+ "config/routes.rb",
28
+ "cucumber.yml",
29
+ "features/support/env.rb",
30
+ "features/support/paths.rb",
31
+ "lib/mobile_page.rb",
32
+ "lib/mobile_site_controller.rb",
33
+ "lib/tasks/mobile_extension_tasks.rake",
34
+ "mobile_extension.rb",
35
+ "radiant-mobile-extension.gemspec",
36
+ "spec/controllers/mobile_site_controller_spec.rb",
37
+ "spec/models/mobile_page_spec.rb",
38
+ "spec/spec.opts",
39
+ "spec/spec_helper.rb"
40
+ ]
41
+ s.homepage = %q{http://github.com/spanner/radiant-mobile-extension}
42
+ s.rdoc_options = ["--charset=UTF-8"]
43
+ s.require_paths = ["lib"]
44
+ s.rubygems_version = %q{1.3.7}
45
+ s.summary = %q{Mobile Extension for Radiant CMS}
46
+ s.test_files = [
47
+ "spec/controllers/mobile_site_controller_spec.rb",
48
+ "spec/models/mobile_page_spec.rb",
49
+ "spec/spec_helper.rb"
50
+ ]
51
+
52
+ if s.respond_to? :specification_version then
53
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
54
+ s.specification_version = 3
55
+
56
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
+ else
58
+ end
59
+ else
60
+ end
61
+ end
62
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-mobile-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - spanner
@@ -28,8 +28,10 @@ extensions: []
28
28
  extra_rdoc_files:
29
29
  - README.md
30
30
  files:
31
+ - .gitignore
31
32
  - README.md
32
33
  - Rakefile
34
+ - VERSION
33
35
  - app/views/admin/configuration/_edit_mobile.html.haml
34
36
  - app/views/admin/configuration/_mobile.html.haml
35
37
  - config/initializers/radiant_config.rb
@@ -42,6 +44,7 @@ files:
42
44
  - lib/mobile_site_controller.rb
43
45
  - lib/tasks/mobile_extension_tasks.rake
44
46
  - mobile_extension.rb
47
+ - radiant-mobile-extension.gemspec
45
48
  - spec/controllers/mobile_site_controller_spec.rb
46
49
  - spec/models/mobile_page_spec.rb
47
50
  - spec/spec.opts