radiant-banner_rotator-extension 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitmodules CHANGED
File without changes
data/Rakefile CHANGED
@@ -34,7 +34,7 @@ unless defined? RADIANT_ROOT
34
34
  end
35
35
 
36
36
  require 'rake'
37
- require 'rake/rdoctask'
37
+ require 'rdoc/task'
38
38
  require 'rake/testtask'
39
39
 
40
40
  rspec_base = File.expand_path(RADIANT_ROOT + '/vendor/plugins/rspec/lib')
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -79,6 +79,10 @@
79
79
  li
80
80
  display: inline
81
81
  font-size: 80%
82
+ a, span
83
+ padding: 5px 5px 5px 25px
84
+ background-position: 5px center
85
+ background-repeat: no-repeat
82
86
  a, a:visited
83
87
  a:hover
84
88
  background-color: #e5f5ff
@@ -91,11 +95,6 @@
91
95
  #banner_sort
92
96
  float: right
93
97
  margin: -5px 120px 0 0
94
- li
95
- a, span
96
- padding: 5px 5px 5px 25px
97
- background-position: 5px center
98
- background-repeat: no-repeat
99
98
  #all_view, #active_view, #inactive_view
100
99
  a, span
101
100
  background-image: url(/images/admin/pictures.png)
@@ -22,7 +22,7 @@ class BannerRotatorExtension < Radiant::Extension
22
22
  end
23
23
 
24
24
  def load_default_banner_regions
25
- returning OpenStruct.new do |banner|
25
+ OpenStruct.new.tap do |banner|
26
26
  banner.edit = Radiant::AdminUI::RegionSet.new do |edit|
27
27
  edit.main.concat %w{edit_header edit_form}
28
28
  edit.form.concat %w{edit_title edit_content}
File without changes
File without changes
@@ -0,0 +1,80 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "radiant-banner_rotator-extension"
8
+ s.version = "1.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Andrew vonderLuft", "Sean Cribbs"]
12
+ s.date = "2013-01-24"
13
+ s.description = "Allows addition and independent management of rotating banners on pages."
14
+ s.email = "avonderluft@avlux.net"
15
+ s.extra_rdoc_files = [
16
+ "README.textile"
17
+ ]
18
+ s.files = [
19
+ ".gitmodules",
20
+ "HELP.textile",
21
+ "README.textile",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "app/controllers/admin/banners_controller.rb",
25
+ "app/helpers/admin/banners_helper.rb",
26
+ "app/models/banner.rb",
27
+ "app/models/banner_placement.rb",
28
+ "app/views/admin/banners/_form.html.haml",
29
+ "app/views/admin/banners/_modify_banner.html.haml",
30
+ "app/views/admin/banners/deactivate.html.haml",
31
+ "app/views/admin/banners/edit.html.haml",
32
+ "app/views/admin/banners/index.html.haml",
33
+ "app/views/admin/banners/new.html.haml",
34
+ "app/views/admin/banners/remove.html.haml",
35
+ "app/views/admin/pages/_banner_info.html.haml",
36
+ "app/views/admin/pages/_banners_column.html.haml",
37
+ "app/views/admin/pages/_banners_column_header.html.haml",
38
+ "banner_rotator_extension.rb",
39
+ "config/initializers/radiant_config.rb",
40
+ "config/locales/en.yml",
41
+ "config/routes.rb",
42
+ "db/migrate/001_create_banners.rb",
43
+ "db/migrate/002_change_banners_default.rb",
44
+ "db/migrate/003_add_description.rb",
45
+ "lib/banner_rotator/page_extensions.rb",
46
+ "lib/banner_rotator/tags.rb",
47
+ "lib/tasks/banner_rotator_extension_tasks.rake",
48
+ "public/images/admin/deactivate.png",
49
+ "public/images/admin/pictures.png",
50
+ "public/images/admin/text_list_numbers.png",
51
+ "public/javascripts/lowpro.js",
52
+ "radiant-banner_rotator-extension.gemspec",
53
+ "spec/controllers/admin_banners_controller_spec.rb",
54
+ "spec/datasets/banners_dataset.rb",
55
+ "spec/helpers/admin/banners_helper_spec.rb",
56
+ "spec/models/banner_placement_spec.rb",
57
+ "spec/models/banner_spec.rb",
58
+ "spec/models/page_extensions_spec.rb",
59
+ "spec/models/tags_spec.rb",
60
+ "spec/spec.opts",
61
+ "spec/spec_helper.rb"
62
+ ]
63
+ s.homepage = "https://github.com/avonderluft/radiant-banner_rotator-extension"
64
+ s.require_paths = ["lib"]
65
+ s.rubygems_version = "1.8.24"
66
+ s.summary = "Banner Rotator Extension for Radiant CMS"
67
+
68
+ if s.respond_to? :specification_version then
69
+ s.specification_version = 3
70
+
71
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
72
+ s.add_runtime_dependency(%q<radiant>, [">= 0.9.1"])
73
+ else
74
+ s.add_dependency(%q<radiant>, [">= 0.9.1"])
75
+ end
76
+ else
77
+ s.add_dependency(%q<radiant>, [">= 0.9.1"])
78
+ end
79
+ end
80
+
@@ -1,4 +1,5 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ #require File.dirname(__FILE__) + '/../spec_helper'
2
+ require 'spec_helper'
2
3
  require_dependency 'admin/banners_controller'
3
4
  class Admin::BannersController < Admin::ResourceController; def rescue_action(e); raise e; end end
4
5
 
@@ -1,4 +1,5 @@
1
- require File.dirname(__FILE__) + '/../../spec_helper'
1
+ # require File.dirname(__FILE__) + '/../../spec_helper'
2
+ require 'spec_helper'
2
3
 
3
4
  describe Admin::BannersHelper do
4
5
  dataset :home_page
@@ -1,4 +1,5 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ #require File.dirname(__FILE__) + '/../spec_helper'
2
+ require 'spec_helper'
2
3
 
3
4
  describe BannerPlacement do
4
5
 
@@ -1,4 +1,5 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ #require File.dirname(__FILE__) + '/../spec_helper'
2
+ require 'spec_helper'
2
3
 
3
4
  describe Banner do
4
5
 
@@ -1,4 +1,5 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ #require File.dirname(__FILE__) + '/../spec_helper'
2
+ require 'spec_helper'
2
3
 
3
4
  describe "BannerRotator::PageExtensions" do
4
5
  dataset :pages, :banners
@@ -1,4 +1,5 @@
1
- require File.dirname(__FILE__) + '/../spec_helper'
1
+ #require File.dirname(__FILE__) + '/../spec_helper'
2
+ require 'spec_helper'
2
3
 
3
4
  describe "BannerRotator::Tags" do
4
5
  dataset :pages, :banners
metadata CHANGED
@@ -1,46 +1,40 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: radiant-banner_rotator-extension
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 0
9
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Andrew vonderLuft
13
9
  - Sean Cribbs
14
10
  autorequire:
15
11
  bindir: bin
16
12
  cert_chain: []
17
-
18
- date: 2011-04-07 00:00:00 -07:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
13
+ date: 2013-01-24 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: radiant
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- - 9
31
- - 1
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
32
22
  version: 0.9.1
33
23
  type: :runtime
34
- version_requirements: *id001
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 0.9.1
35
31
  description: Allows addition and independent management of rotating banners on pages.
36
32
  email: avonderluft@avlux.net
37
33
  executables: []
38
-
39
34
  extensions: []
40
-
41
- extra_rdoc_files:
35
+ extra_rdoc_files:
42
36
  - README.textile
43
- files:
37
+ files:
44
38
  - .gitmodules
45
39
  - HELP.textile
46
40
  - README.textile
@@ -74,6 +68,7 @@ files:
74
68
  - public/images/admin/pictures.png
75
69
  - public/images/admin/text_list_numbers.png
76
70
  - public/javascripts/lowpro.js
71
+ - radiant-banner_rotator-extension.gemspec
77
72
  - spec/controllers/admin_banners_controller_spec.rb
78
73
  - spec/datasets/banners_dataset.rb
79
74
  - spec/helpers/admin/banners_helper_spec.rb
@@ -83,42 +78,31 @@ files:
83
78
  - spec/models/tags_spec.rb
84
79
  - spec/spec.opts
85
80
  - spec/spec_helper.rb
86
- has_rdoc: true
87
81
  homepage: https://github.com/avonderluft/radiant-banner_rotator-extension
88
82
  licenses: []
89
-
90
83
  post_install_message:
91
84
  rdoc_options: []
92
-
93
- require_paths:
85
+ require_paths:
94
86
  - lib
95
- required_ruby_version: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- segments:
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ segments:
100
94
  - 0
101
- version: "0"
102
- required_rubygems_version: !ruby/object:Gem::Requirement
103
- requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- segments:
107
- - 0
108
- version: "0"
95
+ hash: 2336797640343807829
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
109
102
  requirements: []
110
-
111
103
  rubyforge_project:
112
- rubygems_version: 1.3.6
104
+ rubygems_version: 1.8.24
113
105
  signing_key:
114
106
  specification_version: 3
115
107
  summary: Banner Rotator Extension for Radiant CMS
116
- test_files:
117
- - spec/controllers/admin_banners_controller_spec.rb
118
- - spec/datasets/banners_dataset.rb
119
- - spec/helpers/admin/banners_helper_spec.rb
120
- - spec/models/banner_placement_spec.rb
121
- - spec/models/banner_spec.rb
122
- - spec/models/page_extensions_spec.rb
123
- - spec/models/tags_spec.rb
124
- - spec/spec_helper.rb
108
+ test_files: []