rails_admin_settings 0.5.4 → 0.5.5

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: 04813caf7297c8963bfeb2ef852f48b59bad20e0
4
- data.tar.gz: e7f5313d59b0d98ee04fd229f9cf3667b6050e06
3
+ metadata.gz: daf283cef242208c445d469dfa8b3608cbbef8a1
4
+ data.tar.gz: 7f8b0fa36cba674dddea4b6ab1e626701057bd28
5
5
  SHA512:
6
- metadata.gz: 1f4d2ab7a2e3d31fa5f40bc52e61fc6ba8429d64068a2ab6fe033224937b701458ad454e18e3e2aba672415a3fcdc8c129c2d38270af5fa945578abad0367a50
7
- data.tar.gz: df8efddcdcce6daf6a99ec0759e98e2747abed205b06df39b562ca5c4cc1215336078efb06e181627359cf915e6d5244b036601705622d0dcc3486798ebb101f
6
+ metadata.gz: 87550cd78de0107a324dcce90b8094ad8787eb1336ca76709ec703273432f4e5b968e2bc806adcaec7386dafeeb90152cb2acda84f5476d72ab2ebd019154cac
7
+ data.tar.gz: 1a28c1b482f2b65e56a98f089bb2c64643c55998047567a0e8ca5e1bfb36935aadb36045907a8375a581c9098dc75354bdfa3ad344c4f79bef3afc93e923e46a
data/.travis.yml CHANGED
@@ -10,11 +10,10 @@ rvm:
10
10
  - jruby-19mode
11
11
 
12
12
  env:
13
- - "UPLOADS=paperclip"
14
- - "UPLOADS=carrierwave"
13
+ - "UPLOADS=paperclip"
14
+ - "UPLOADS=carrierwave"
15
15
 
16
16
  gemfile:
17
17
  - Gemfile
18
- - gemfiles/mongoid-3.0.gemfile
19
18
  - gemfiles/mongoid-3.1.gemfile
20
19
  - gemfiles/mongoid-4.0.gemfile
@@ -5,7 +5,7 @@ module RailsAdminSettings
5
5
  def self.included(base)
6
6
  # carrierwave
7
7
  if base.respond_to?(:mount_uploader)
8
- puts "[rails_admin_settings] CarrierWave detected"
8
+ # puts "[rails_admin_settings] CarrierWave detected"
9
9
  # base.field(:file, type: String)
10
10
  base.mount_uploader(:file, RailsAdminSettings::Uploads::CarrierWave)
11
11
  Settings.file_uploads_supported = true
@@ -13,7 +13,7 @@ module RailsAdminSettings
13
13
  # paperclip
14
14
  elsif Mongoid.const_defined?('Paperclip')
15
15
  base.send(:include, Mongoid::Paperclip)
16
- puts "[rails_admin_settings] PaperClip detected"
16
+ # puts "[rails_admin_settings] PaperClip detected"
17
17
  base.field(:file, type: String)
18
18
  if defined?(Rails)
19
19
  base.has_mongoid_attached_file(:file)
@@ -26,7 +26,7 @@ module RailsAdminSettings
26
26
  Settings.file_uploads_supported = true
27
27
  Settings.file_uploads_engine = :paperclip
28
28
  else
29
- puts "[rails_admin_settings] Uploads disabled"
29
+ # puts "[rails_admin_settings] Uploads disabled"
30
30
  end
31
31
  end
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module RailsAdminSettings
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Tv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-01 00:00:00.000000000 Z
11
+ date: 2013-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
@@ -254,7 +254,6 @@ files:
254
254
  - app/views/rails_admin/main/_setting_value.html.haml
255
255
  - config/locales/en.rails_admin_settings.yml
256
256
  - config/locales/ru.rails_admin_settings.yml
257
- - gemfiles/mongoid-3.0.gemfile
258
257
  - gemfiles/mongoid-3.1.gemfile
259
258
  - gemfiles/mongoid-4.0.gemfile
260
259
  - lib/rails_admin_settings.rb
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mongoid", github: "mongoid/mongoid", branch: "3.0.0-stable"
4
- gem "activemodel", "~> 3.2"
5
-
6
- gemspec path: "../"