radiant-archive_tabs-extension 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -13,26 +13,27 @@ It's a monkey patch so use at your own risk.
13
13
 
14
14
  ## Installation
15
15
 
16
- Install as a gem :
16
+
17
+ Add the gem to your Gemfile :
17
18
 
18
19
  ```
19
- gem install radiant-archive_tabs-extension
20
+ gem "radiant-filter_toolbars-extension", "~> 1.0.4"
20
21
  ```
21
22
 
22
- Ensure Archive Tabs is loaded last :
23
+ Update your bundle :
23
24
 
24
25
  ```
25
- config.extensions = [ :all, :archive_tabs ]
26
+ $ bundle install
26
27
  ```
27
28
 
28
- Load Archive Tabs by adding the gem :
29
+ Ensure Archive Tabs loads last :
29
30
 
30
31
  ```
31
- config.gem 'radiant-archive_tabs-extension', :version => '1.0.0'
32
+ config.extensions = [ :all, :archive_tabs ]
32
33
  ```
33
34
 
34
35
 
35
36
  ## To Do
36
37
 
37
- - Add search filter ?
38
+ - Add a search filter
38
39
  - Look into why will_paginate isn't creating the correct urls, currently using a js hack to fix this
@@ -1,12 +1,11 @@
1
- require 'radiant-archive_tabs-extension/version'
2
1
  require 'radiant-archive_tabs-extension/application_helper'
3
2
  require 'radiant-archive_tabs-extension/admin/node_helper'
4
3
  require 'radiant-archive_tabs-extension/admin/pages_controller'
5
4
 
6
5
  class ArchiveTabsExtension < Radiant::Extension
7
- version RadiantArchiveTabsExtension::VERSION
8
- description "Display Archive pages in their own paginated tab"
9
- url "http://github.com/jsntv200/radiant-archive_tabs-extension"
6
+ version RadiantArchiveTabsExtension::VERSION
7
+ description RadiantArchiveTabsExtension::DESCRIPTION
8
+ url RadiantArchiveTabsExtension::URL
10
9
 
11
10
  def activate
12
11
  ApplicationHelper.send :include, RadiantArchiveTabsExtension::ApplicationHelper
@@ -1,2 +1,8 @@
1
1
  module RadiantArchiveTabsExtension
2
+ VERSION = "1.0.4"
3
+ SUMMARY = "Archive tabs extension for Radiant CMS"
4
+ DESCRIPTION = "Display Archive pages in their own paginated tab."
5
+ URL = "https://github.com/jsntv200/radiant-archive_tabs-extension"
6
+ AUTHORS = ["Jason Taylor"]
7
+ EMAIL = ["jsntv200@gmail.com"]
2
8
  end
@@ -1,31 +1,24 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
- require "radiant-archive_tabs-extension/version"
3
+ require "radiant-archive_tabs-extension"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "radiant-archive_tabs-extension"
7
7
  s.version = RadiantArchiveTabsExtension::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
- s.authors = ["Jason Taylor"]
10
- s.email = ["jsntv200@gmail.com"]
11
- s.homepage = "http://github.com/jsntv200/radiant-archive_tabs-extension"
12
- s.summary = %q{Archive tabs extension for Radiant CMS}
13
- s.description = %q{Display Archive pages in their own paginated tab}
9
+ s.authors = RadiantArchiveTabsExtension::AUTHORS
10
+ s.email = RadiantArchiveTabsExtension::EMAIL
11
+ s.homepage = RadiantArchiveTabsExtension::URL
12
+ s.summary = RadiantArchiveTabsExtension::SUMMARY
13
+ s.description = RadiantArchiveTabsExtension::DESCRIPTION
14
14
 
15
- s.files = `git ls-files`.split("\n")
16
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
- s.require_paths = ["lib"]
19
-
20
- s.post_install_message = %{
21
- Edit your Radiant environment.rb file and add the following :
22
-
23
- 1. Ensure Archive Tabs is loaded last
15
+ ignores = if File.exist?('.gitignore')
16
+ File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
17
+ else
18
+ []
19
+ end
24
20
 
25
- config.extensions = [ :all, :archive_tabs ]
26
-
27
- 2. Load Archive Tabs by adding the gem
28
-
29
- config.gem 'radiant-archive_tabs-extension', :version => '#{RadiantArchiveTabsExtension::VERSION}'
30
- }
21
+ s.files = Dir['**/*'] - ignores
22
+ s.test_files = Dir['test/**/*','spec/**/*','features/**/*'] - ignores
23
+ s.require_paths = ["lib"]
31
24
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-archive_tabs-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 4
10
+ version: 1.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Taylor
@@ -15,11 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-28 00:00:00 +10:00
18
+ date: 2011-08-19 00:00:00 +10:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
22
- description: Display Archive pages in their own paginated tab
22
+ description: Display Archive pages in their own paginated tab.
23
23
  email:
24
24
  - jsntv200@gmail.com
25
25
  executables: []
@@ -29,30 +29,28 @@ extensions: []
29
29
  extra_rdoc_files: []
30
30
 
31
31
  files:
32
- - .gitignore
33
- - README.md
34
- - Rakefile
35
32
  - app/views/admin/pages/_redirect_cancel.html.haml
36
33
  - app/views/admin/pages/archive_index.html.haml
37
34
  - archive_tabs_extension.rb
38
35
  - config/locales/en.yml
39
- - lib/radiant-archive_tabs-extension.rb
40
36
  - lib/radiant-archive_tabs-extension/admin/node_helper.rb
41
37
  - lib/radiant-archive_tabs-extension/admin/pages_controller.rb
42
38
  - lib/radiant-archive_tabs-extension/application_helper.rb
43
- - lib/radiant-archive_tabs-extension/version.rb
39
+ - lib/radiant-archive_tabs-extension.rb
44
40
  - lib/tasks/archive_tabs_extension_tasks.rake
45
41
  - radiant-archive_tabs-extension.gemspec
42
+ - Rakefile
43
+ - README.md
46
44
  - spec/controllers/admin/pages_controller_spec.rb
47
45
  - spec/datasets/archive_pages.rb
48
46
  - spec/helpers/admin/node_helper_spec.rb
49
47
  - spec/spec.opts
50
48
  - spec/spec_helper.rb
51
49
  has_rdoc: true
52
- homepage: http://github.com/jsntv200/radiant-archive_tabs-extension
50
+ homepage: https://github.com/jsntv200/radiant-archive_tabs-extension
53
51
  licenses: []
54
52
 
55
- post_install_message: "\n Edit your Radiant environment.rb file and add the following :\n\n 1. Ensure Archive Tabs is loaded last\n\n config.extensions = [ :all, :archive_tabs ]\n\n 2. Load Archive Tabs by adding the gem\n\n config.gem 'radiant-archive_tabs-extension', :version => '1.0.2'\n "
53
+ post_install_message:
56
54
  rdoc_options: []
57
55
 
58
56
  require_paths:
@@ -78,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
76
  requirements: []
79
77
 
80
78
  rubyforge_project:
81
- rubygems_version: 1.6.2
79
+ rubygems_version: 1.5.0
82
80
  signing_key:
83
81
  specification_version: 3
84
82
  summary: Archive tabs extension for Radiant CMS
data/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- .DS_Store
2
- *.swp
3
- *.gem
@@ -1,3 +0,0 @@
1
- module RadiantArchiveTabsExtension
2
- VERSION = '1.0.2'
3
- end