mongoid-app_settings 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore ADDED
@@ -0,0 +1,48 @@
1
+ # rcov generated
2
+ coverage
3
+
4
+ # rdoc generated
5
+ rdoc
6
+
7
+ # yard generated
8
+ doc
9
+ .yardoc
10
+
11
+ # bundler
12
+ .bundle
13
+
14
+ # jeweler generated
15
+ pkg
16
+
17
+ # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
18
+ #
19
+ # * Create a file at ~/.gitignore
20
+ # * Include files you want ignored
21
+ # * Run: git config --global core.excludesfile ~/.gitignore
22
+ #
23
+ # After doing this, these files will be ignored in all your git projects,
24
+ # saving you from having to 'pollute' every project you touch with them
25
+ #
26
+ # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
27
+ #
28
+ # For MacOS:
29
+ #
30
+ #.DS_Store
31
+
32
+ # For TextMate
33
+ #*.tmproj
34
+ #tmtags
35
+
36
+ # For emacs:
37
+ #*~
38
+ #\#*
39
+ #.\#*
40
+
41
+ # For vim:
42
+ #*.swp
43
+
44
+ # For redcar:
45
+ #.redcar
46
+
47
+ # For rubinius:
48
+ #*.rbc
data/.travis.yml ADDED
@@ -0,0 +1,16 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
5
+ - jruby-19mode # JRuby in 1.9 mode
6
+ - rbx-19mode
7
+ services:
8
+ - mongodb
9
+ gemfile:
10
+ - gemfiles/mongoid2.gemfile
11
+ - gemfiles/mongoid3.gemfile
12
+ matrix:
13
+ exclude:
14
+ # not supported by Mongoid 3
15
+ - rvm: 1.9.2
16
+ gemfile: gemfiles/mongoid3.gemfile
data/Appraisals ADDED
@@ -0,0 +1,8 @@
1
+ appraise "mongoid2" do
2
+ gem "mongoid", "~> 2.0"
3
+ gem 'bson_ext', :platforms => [:mri]
4
+ end
5
+
6
+ appraise "mongoid3" do
7
+ gem "mongoid", "~> 3.0"
8
+ end
data/Gemfile CHANGED
@@ -1,11 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "mongoid"
4
- gem "activesupport"
5
-
6
- group :development do
7
- gem "database_cleaner"
8
- gem "rspec"
9
- gem "jeweler", "~> 1.6.4"
10
- gem "rcov"
11
- end
3
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,48 +1,50 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mongoid-app_settings (1.1.0)
5
+ activesupport
6
+ mongoid (>= 2.0)
7
+
1
8
  GEM
2
9
  remote: http://rubygems.org/
3
10
  specs:
4
- activemodel (3.1.1)
5
- activesupport (= 3.1.1)
11
+ activemodel (3.2.11)
12
+ activesupport (= 3.2.11)
6
13
  builder (~> 3.0.0)
14
+ activesupport (3.2.11)
7
15
  i18n (~> 0.6)
8
- activesupport (3.1.1)
9
16
  multi_json (~> 1.0)
10
- bson (1.3.1)
11
- builder (3.0.0)
12
- database_cleaner (0.6.7)
13
- diff-lcs (1.1.3)
14
- git (1.2.5)
15
- i18n (0.6.0)
16
- jeweler (1.6.4)
17
- bundler (~> 1.0)
18
- git (>= 1.2.5)
17
+ appraisal (0.5.1)
18
+ bundler
19
19
  rake
20
- mongo (1.3.1)
21
- bson (>= 1.3.1)
22
- mongoid (2.2.3)
23
- activemodel (~> 3.0)
24
- mongo (~> 1.3)
20
+ builder (3.0.4)
21
+ database_cleaner (0.9.1)
22
+ diff-lcs (1.1.3)
23
+ i18n (0.6.1)
24
+ mongoid (3.0.16)
25
+ activemodel (~> 3.1)
26
+ moped (~> 1.1)
27
+ origin (~> 1.0)
25
28
  tzinfo (~> 0.3.22)
26
- multi_json (1.0.3)
27
- rake (0.9.2.2)
28
- rcov (0.9.11)
29
- rspec (2.7.0)
30
- rspec-core (~> 2.7.0)
31
- rspec-expectations (~> 2.7.0)
32
- rspec-mocks (~> 2.7.0)
33
- rspec-core (2.7.1)
34
- rspec-expectations (2.7.0)
35
- diff-lcs (~> 1.1.2)
36
- rspec-mocks (2.7.0)
37
- tzinfo (0.3.30)
29
+ moped (1.3.2)
30
+ multi_json (1.5.0)
31
+ origin (1.0.11)
32
+ rake (10.0.3)
33
+ rspec (2.11.0)
34
+ rspec-core (~> 2.11.0)
35
+ rspec-expectations (~> 2.11.0)
36
+ rspec-mocks (~> 2.11.0)
37
+ rspec-core (2.11.1)
38
+ rspec-expectations (2.11.3)
39
+ diff-lcs (~> 1.1.3)
40
+ rspec-mocks (2.11.3)
41
+ tzinfo (0.3.35)
38
42
 
39
43
  PLATFORMS
40
44
  ruby
41
45
 
42
46
  DEPENDENCIES
43
- activesupport
44
- database_cleaner
45
- jeweler (~> 1.6.4)
46
- mongoid
47
- rcov
48
- rspec
47
+ appraisal
48
+ database_cleaner (~> 0.9)
49
+ mongoid-app_settings!
50
+ rspec (~> 2.11)
data/README.markdown CHANGED
@@ -49,6 +49,22 @@ You can get a list of defaults:
49
49
 
50
50
  MySettings.defaults
51
51
  => {:enable_my_feature => true, :something_else => nil}
52
+
53
+ Settings are cached until manually reloaded. In your ApplicationController, you
54
+ might want to do something like
55
+
56
+ class ApplicationController < ActionController::Base
57
+ before_filter :reload_settings
58
+
59
+ def reload_settings
60
+ Settings.reload
61
+ end
62
+ end
63
+
64
+ # Changelog
65
+
66
+ * 1.0 - Feature complete and stable. Until I need more features, that is.
67
+ * 1.1 - Add support for Mongoid 3. Mongoid 2 is still supported.
52
68
 
53
69
  # Contributing to mongoid-app\_settings
54
70
 
data/Rakefile CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'bundler'
5
+ require 'bundler/gem_tasks'
6
+
5
7
  begin
6
8
  Bundler.setup(:default, :development)
7
9
  rescue Bundler::BundlerError => e
@@ -10,20 +12,7 @@ rescue Bundler::BundlerError => e
10
12
  exit e.status_code
11
13
  end
12
14
  require 'rake'
13
-
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "mongoid-app_settings"
18
- gem.homepage = "http://github.com/marten/mongoid-app_settings"
19
- gem.license = "MIT"
20
- gem.summary = %Q{Store settings for your application in MongoDB}
21
- gem.description = %Q{Mongoid::AppSettings allows you to store settings in MongoDB, and access them easily}
22
- gem.email = "marten@veldthuis.com"
23
- gem.authors = ["Marten Veldthuis"]
24
- # dependencies defined in Gemfile
25
- end
26
- Jeweler::RubygemsDotOrgTasks.new
15
+ require 'appraisal'
27
16
 
28
17
  require 'rspec/core'
29
18
  require 'rspec/core/rake_task'
@@ -38,12 +27,3 @@ end
38
27
 
39
28
  task :default => :spec
40
29
 
41
- require 'rake/rdoctask'
42
- Rake::RDocTask.new do |rdoc|
43
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
-
45
- rdoc.rdoc_dir = 'rdoc'
46
- rdoc.title = "mongoid-app_settings #{version}"
47
- rdoc.rdoc_files.include('README*')
48
- rdoc.rdoc_files.include('lib/**/*.rb')
49
- end
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "mongoid", "~> 2.0"
6
+ gem "bson_ext", :platforms=>[:mri]
7
+
8
+ gemspec :path=>"../"
@@ -0,0 +1,54 @@
1
+ PATH
2
+ remote: /Users/marten/prj/mongoid-app_settings
3
+ specs:
4
+ mongoid-app_settings (1.1.0)
5
+ activesupport
6
+ mongoid (>= 2.0)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ activemodel (3.2.11)
12
+ activesupport (= 3.2.11)
13
+ builder (~> 3.0.0)
14
+ activesupport (3.2.11)
15
+ i18n (~> 0.6)
16
+ multi_json (~> 1.0)
17
+ appraisal (0.5.1)
18
+ bundler
19
+ rake
20
+ bson (1.7.1)
21
+ bson_ext (1.7.1)
22
+ bson (~> 1.7.1)
23
+ builder (3.0.4)
24
+ database_cleaner (0.9.1)
25
+ diff-lcs (1.1.3)
26
+ i18n (0.6.1)
27
+ mongo (1.7.0)
28
+ bson (~> 1.7.0)
29
+ mongoid (2.5.0)
30
+ activemodel (~> 3.1)
31
+ mongo (~> 1.7)
32
+ tzinfo (~> 0.3.22)
33
+ multi_json (1.5.0)
34
+ rake (10.0.3)
35
+ rspec (2.11.0)
36
+ rspec-core (~> 2.11.0)
37
+ rspec-expectations (~> 2.11.0)
38
+ rspec-mocks (~> 2.11.0)
39
+ rspec-core (2.11.1)
40
+ rspec-expectations (2.11.3)
41
+ diff-lcs (~> 1.1.3)
42
+ rspec-mocks (2.11.3)
43
+ tzinfo (0.3.35)
44
+
45
+ PLATFORMS
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ appraisal
50
+ bson_ext
51
+ database_cleaner (~> 0.9)
52
+ mongoid (~> 2.0)
53
+ mongoid-app_settings!
54
+ rspec (~> 2.11)
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "mongoid", "~> 3.0"
6
+
7
+ gemspec :path=>"../"
@@ -0,0 +1,51 @@
1
+ PATH
2
+ remote: /Users/marten/prj/mongoid-app_settings
3
+ specs:
4
+ mongoid-app_settings (1.1.0)
5
+ activesupport
6
+ mongoid (>= 2.0)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ activemodel (3.2.11)
12
+ activesupport (= 3.2.11)
13
+ builder (~> 3.0.0)
14
+ activesupport (3.2.11)
15
+ i18n (~> 0.6)
16
+ multi_json (~> 1.0)
17
+ appraisal (0.5.1)
18
+ bundler
19
+ rake
20
+ builder (3.0.4)
21
+ database_cleaner (0.9.1)
22
+ diff-lcs (1.1.3)
23
+ i18n (0.6.1)
24
+ mongoid (3.0.16)
25
+ activemodel (~> 3.1)
26
+ moped (~> 1.1)
27
+ origin (~> 1.0)
28
+ tzinfo (~> 0.3.22)
29
+ moped (1.3.2)
30
+ multi_json (1.5.0)
31
+ origin (1.0.11)
32
+ rake (10.0.3)
33
+ rspec (2.11.0)
34
+ rspec-core (~> 2.11.0)
35
+ rspec-expectations (~> 2.11.0)
36
+ rspec-mocks (~> 2.11.0)
37
+ rspec-core (2.11.1)
38
+ rspec-expectations (2.11.3)
39
+ diff-lcs (~> 1.1.3)
40
+ rspec-mocks (2.11.3)
41
+ tzinfo (0.3.35)
42
+
43
+ PLATFORMS
44
+ ruby
45
+
46
+ DEPENDENCIES
47
+ appraisal
48
+ database_cleaner (~> 0.9)
49
+ mongoid (~> 3.0)
50
+ mongoid-app_settings!
51
+ rspec (~> 2.11)
@@ -0,0 +1,5 @@
1
+ module Mongoid
2
+ module AppSettings
3
+ VERSION = '1.1.0'
4
+ end
5
+ end
@@ -1,4 +1,5 @@
1
1
  require 'mongoid'
2
+ require 'mongoid/app_settings/version'
2
3
 
3
4
  module Mongoid
4
5
  module AppSettings
@@ -10,8 +11,12 @@ module Mongoid
10
11
 
11
12
  class Record #:nodoc:
12
13
  include Mongoid::Document
13
- identity :type => String
14
- store_in :settings
14
+ field :key, :type => String
15
+ if Mongoid::VERSION > '3'
16
+ store_in :collection => :settings
17
+ else
18
+ store_in 'settings'
19
+ end
15
20
  end
16
21
 
17
22
  module ClassMethods
@@ -81,7 +86,7 @@ module Mongoid
81
86
 
82
87
  def record # :nodoc:
83
88
  return @record if @record
84
- @record = Record.find_or_create_by(:id => "settings")
89
+ @record = Record.find_or_create_by(:key => "settings")
85
90
  end
86
91
 
87
92
  def [](name) # :nodoc:
@@ -1,66 +1,28 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mongoid/app_settings/version'
5
5
 
6
- Gem::Specification.new do |s|
7
- s.name = "mongoid-app_settings"
8
- s.version = "1.0.0"
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "mongoid-app_settings"
8
+ gem.version = Mongoid::AppSettings::VERSION
9
+ gem.authors = ["Marten Veldthuis"]
10
+ gem.email = "marten@veldthuis.com"
11
+ gem.description = "Mongoid::AppSettings allows you to store settings in MongoDB, and access them easily"
12
+ gem.summary = "Store settings for your application in MongoDB"
13
+ gem.homepage = "http://github.com/marten/mongoid-app_settings"
14
+ gem.licenses = ["MIT"]
9
15
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Marten Veldthuis"]
12
- s.date = "2012-01-02"
13
- s.description = "Mongoid::AppSettings allows you to store settings in MongoDB, and access them easily"
14
- s.email = "marten@veldthuis.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.markdown"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".rspec",
22
- "Gemfile",
23
- "Gemfile.lock",
24
- "LICENSE.txt",
25
- "README.markdown",
26
- "Rakefile",
27
- "VERSION",
28
- "lib/mongoid-app_settings.rb",
29
- "mongoid-app_settings.gemspec",
30
- "spec/mongoid-app_settings_spec.rb",
31
- "spec/spec_helper.rb"
32
- ]
33
- s.homepage = "http://github.com/marten/mongoid-app_settings"
34
- s.licenses = ["MIT"]
35
- s.require_paths = ["lib"]
36
- s.rubygems_version = "1.8.11"
37
- s.summary = "Store settings for your application in MongoDB"
16
+ gem.files = `git ls-files`.split($/)
17
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
+ gem.require_paths = ["lib"]
38
20
 
39
- if s.respond_to? :specification_version then
40
- s.specification_version = 3
21
+ gem.add_runtime_dependency('mongoid', [">= 2.0"])
22
+ gem.add_runtime_dependency('activesupport')
41
23
 
42
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
- s.add_runtime_dependency(%q<mongoid>, [">= 0"])
44
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
45
- s.add_development_dependency(%q<database_cleaner>, [">= 0"])
46
- s.add_development_dependency(%q<rspec>, [">= 0"])
47
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
48
- s.add_development_dependency(%q<rcov>, [">= 0"])
49
- else
50
- s.add_dependency(%q<mongoid>, [">= 0"])
51
- s.add_dependency(%q<activesupport>, [">= 0"])
52
- s.add_dependency(%q<database_cleaner>, [">= 0"])
53
- s.add_dependency(%q<rspec>, [">= 0"])
54
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
55
- s.add_dependency(%q<rcov>, [">= 0"])
56
- end
57
- else
58
- s.add_dependency(%q<mongoid>, [">= 0"])
59
- s.add_dependency(%q<activesupport>, [">= 0"])
60
- s.add_dependency(%q<database_cleaner>, [">= 0"])
61
- s.add_dependency(%q<rspec>, [">= 0"])
62
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
63
- s.add_dependency(%q<rcov>, [">= 0"])
64
- end
24
+ gem.add_development_dependency('database_cleaner', ["~> 0.9"])
25
+ gem.add_development_dependency('rspec', ["~> 2.11"])
26
+ gem.add_development_dependency('appraisal')
65
27
  end
66
28
 
data/spec/mongoid2.yml ADDED
@@ -0,0 +1,3 @@
1
+ test:
2
+ database: mongoid-app_settings_test
3
+ host: localhost
data/spec/mongoid3.yml ADDED
@@ -0,0 +1,6 @@
1
+ test:
2
+ sessions:
3
+ default:
4
+ database: mongoid-app_settings_test
5
+ hosts:
6
+ - localhost:27017
data/spec/spec_helper.rb CHANGED
@@ -5,12 +5,13 @@ require 'database_cleaner'
5
5
  require 'mongoid'
6
6
  require 'mongoid-app_settings'
7
7
 
8
- Mongoid.configure do |config|
9
- name = "mongoid-app_settings_test"
10
- host = "localhost"
11
- config.master = Mongo::Connection.new.db(name)
12
- config.autocreate_indexes = true
8
+ ENV["MONGOID_ENV"] = "test"
9
+ if Mongoid::VERSION > '3'
10
+ Mongoid.load!("#{File.dirname(__FILE__)}/mongoid3.yml")
11
+ else
12
+ Mongoid.load!("#{File.dirname(__FILE__)}/mongoid2.yml")
13
13
  end
14
+ Mongoid.logger.level = Logger::INFO
14
15
 
15
16
  # Requires supporting files with custom matchers and macros, etc,
16
17
  # in ./support/ and its subdirectories.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-app_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-02 00:00:00.000000000 Z
12
+ date: 2013-01-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
16
- requirement: &11653860 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: '2.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *11653860
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '2.0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: activesupport
27
- requirement: &11652580 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,43 +37,47 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *11652580
36
- - !ruby/object:Gem::Dependency
37
- name: database_cleaner
38
- requirement: &11651400 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
39
41
  none: false
40
42
  requirements:
41
43
  - - ! '>='
42
44
  - !ruby/object:Gem::Version
43
45
  version: '0'
44
- type: :development
45
- prerelease: false
46
- version_requirements: *11651400
47
46
  - !ruby/object:Gem::Dependency
48
- name: rspec
49
- requirement: &11650500 !ruby/object:Gem::Requirement
47
+ name: database_cleaner
48
+ requirement: !ruby/object:Gem::Requirement
50
49
  none: false
51
50
  requirements:
52
- - - ! '>='
51
+ - - ~>
53
52
  - !ruby/object:Gem::Version
54
- version: '0'
53
+ version: '0.9'
55
54
  type: :development
56
55
  prerelease: false
57
- version_requirements: *11650500
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.9'
58
62
  - !ruby/object:Gem::Dependency
59
- name: jeweler
60
- requirement: &11649380 !ruby/object:Gem::Requirement
63
+ name: rspec
64
+ requirement: !ruby/object:Gem::Requirement
61
65
  none: false
62
66
  requirements:
63
67
  - - ~>
64
68
  - !ruby/object:Gem::Version
65
- version: 1.6.4
69
+ version: '2.11'
66
70
  type: :development
67
71
  prerelease: false
68
- version_requirements: *11649380
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '2.11'
69
78
  - !ruby/object:Gem::Dependency
70
- name: rcov
71
- requirement: &11648700 !ruby/object:Gem::Requirement
79
+ name: appraisal
80
+ requirement: !ruby/object:Gem::Requirement
72
81
  none: false
73
82
  requirements:
74
83
  - - ! '>='
@@ -76,27 +85,39 @@ dependencies:
76
85
  version: '0'
77
86
  type: :development
78
87
  prerelease: false
79
- version_requirements: *11648700
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
80
94
  description: Mongoid::AppSettings allows you to store settings in MongoDB, and access
81
95
  them easily
82
96
  email: marten@veldthuis.com
83
97
  executables: []
84
98
  extensions: []
85
- extra_rdoc_files:
86
- - LICENSE.txt
87
- - README.markdown
99
+ extra_rdoc_files: []
88
100
  files:
89
101
  - .document
102
+ - .gitignore
90
103
  - .rspec
104
+ - .travis.yml
105
+ - Appraisals
91
106
  - Gemfile
92
107
  - Gemfile.lock
93
108
  - LICENSE.txt
94
109
  - README.markdown
95
110
  - Rakefile
96
- - VERSION
111
+ - gemfiles/mongoid2.gemfile
112
+ - gemfiles/mongoid2.gemfile.lock
113
+ - gemfiles/mongoid3.gemfile
114
+ - gemfiles/mongoid3.gemfile.lock
97
115
  - lib/mongoid-app_settings.rb
116
+ - lib/mongoid/app_settings/version.rb
98
117
  - mongoid-app_settings.gemspec
99
118
  - spec/mongoid-app_settings_spec.rb
119
+ - spec/mongoid2.yml
120
+ - spec/mongoid3.yml
100
121
  - spec/spec_helper.rb
101
122
  homepage: http://github.com/marten/mongoid-app_settings
102
123
  licenses:
@@ -113,17 +134,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
134
  version: '0'
114
135
  segments:
115
136
  - 0
116
- hash: 4007270136377991358
137
+ hash: 398499447771221044
117
138
  required_rubygems_version: !ruby/object:Gem::Requirement
118
139
  none: false
119
140
  requirements:
120
141
  - - ! '>='
121
142
  - !ruby/object:Gem::Version
122
143
  version: '0'
144
+ segments:
145
+ - 0
146
+ hash: 398499447771221044
123
147
  requirements: []
124
148
  rubyforge_project:
125
- rubygems_version: 1.8.11
149
+ rubygems_version: 1.8.24
126
150
  signing_key:
127
151
  specification_version: 3
128
152
  summary: Store settings for your application in MongoDB
129
- test_files: []
153
+ test_files:
154
+ - spec/mongoid-app_settings_spec.rb
155
+ - spec/mongoid2.yml
156
+ - spec/mongoid3.yml
157
+ - spec/spec_helper.rb
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.0