activeadmin-redactor 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 875ac513ca0716e7d14b73c076fd71a803bc3eae
4
- data.tar.gz: c2ec0a7c7a1ebd28a2c4c732c39a507a4a530adc
3
+ metadata.gz: 93056ba3ce82ff28290c152abd77b7c2d6791d28
4
+ data.tar.gz: 0e4b5511e36f736cd3fb827d948f86f7d7349625
5
5
  SHA512:
6
- metadata.gz: 14595fb2e9ff4338d596df0b5ad8800daf852459cc37d97fb55714f12dc0f75006831e3534451127e283129a097bc88167b459934d408bf35f7a841673f33791
7
- data.tar.gz: 0252a50f7ad63882fc0799e25dab61aebb464abcb263e625289346cb054a227e75595a4b79456dc864d4783932ed7423361a069baf2bc0c5bc336e57123f065d
6
+ metadata.gz: 4bb9894a243cc2688c4c56631c7bbfe75ef2529fc3ceeb991e09ae77d014629367678472e8fd4e713b55cc7d31ef2c7efe4d935e187fb89cb840c9be88bc55d1
7
+ data.tar.gz: 5b844e27ed57ada920d2f382398297e7b7412ac360878eb2ebb1505cf4e7bfe89e8f78928fa5efb9cea8fb7b54e0adfd631477b61a895f54db0402851474a305
@@ -30,6 +30,11 @@ module Activeadmin
30
30
  ::ActiveAdmin::Views::TableFor.send(:include, TableMethods)
31
31
 
32
32
  class Engine < ::Rails::Engine
33
+ if Rails.version > "3.1"
34
+ initializer "ActiveAdmin Redactor precompile hook", :group => :all do |app|
35
+ app.config.assets.precompile += %w(activeadmin-redactor.js activeadmin-redactor.css)
36
+ end
37
+ end
33
38
  end
34
39
  end
35
40
  end
@@ -1,5 +1,5 @@
1
1
  module Activeadmin
2
2
  module Redactor
3
- VERSION = "0.1.4"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require_relative '../../lib/activeadmin/redactor_opts.rb'
3
3
 
4
4
  describe Activeadmin::Redactor::RedactorOpts do
5
5
  subject { described_class.new(options) }
6
-
6
+
7
7
  describe '#iframe' do
8
8
  context 'no options passed' do
9
9
  let(:options) {Hash.new}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin-redactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Entwistle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-30 00:00:00.000000000 Z
11
+ date: 2014-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler