radiant-snippets-extension 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
1
  class Admin::SnippetFilesController < Admin::ResourceController
2
2
  def show;end
3
+ private
4
+ def load_models
5
+ SnippetFile.all
6
+ end
3
7
  end
@@ -15,6 +15,10 @@ class SnippetFile < Struct.new(:name, :content)
15
15
  }
16
16
  end
17
17
 
18
+ def paginate(options)
19
+ all
20
+ end
21
+
18
22
  def root
19
23
  @root ||= Rails.root.to_s + '/app/templates/snippets'
20
24
  end
@@ -1,5 +1,5 @@
1
1
  module RadiantSnippetsExtension
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  SUMMARY = "Snippets for Radiant CMS"
4
4
  DESCRIPTION = "Makes Radiant better by adding snippets!"
5
5
  URL = "http://github.com/radiant"
@@ -1,13 +1,13 @@
1
- cd ~
2
- git clone git://github.com/radiant/radiant.git
3
- cd ~/radiant
1
+ git clone git://github.com/radiant/radiant.git test_app
2
+ cd test_app
3
+
4
4
  if [[ $RADIANT_VERSION != "master" ]]
5
5
  then
6
- git checkout -b $RADIANT_VERSION $RADIANT_VERSION
6
+ git checkout -t origin/$RADIANT_VERSION
7
7
  fi
8
- cp -r ~/builds/*/radiant-snippets-extension vendor/extensions/snippets
9
8
  gem install bundler --pre
10
- echo gemspec >> Gemfile
9
+ echo 'gemspec' >> Gemfile
10
+ echo 'gem "radiant-snippets-extension", :path => ".."' >> Gemfile
11
11
  bundle install
12
12
 
13
13
  case $DB in
@@ -20,4 +20,3 @@ case $DB in
20
20
  esac
21
21
 
22
22
  bundle exec rake db:migrate
23
- bundle exec rake db:migrate:extensions
data/spec/ci/script CHANGED
@@ -1,2 +1,2 @@
1
- cd ~/radiant
1
+ cd test_app
2
2
  bundle exec rake spec:extensions EXT=snippets
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-snippets-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-30 00:00:00.000000000 Z
12
+ date: 2013-02-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Makes Radiant better by adding snippets!
15
15
  email:
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 1.8.11
84
+ rubygems_version: 1.8.25
85
85
  signing_key:
86
86
  specification_version: 3
87
87
  summary: Snippets for Radiant CMS
@@ -105,3 +105,4 @@ test_files:
105
105
  - features/step_definitions/admin/snippet_steps.rb
106
106
  - features/support/env.rb
107
107
  - features/support/paths.rb
108
+ has_rdoc: