mongoid_markdown_extension 0.1.7 → 0.1.8

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
- SHA1:
3
- metadata.gz: 0205fc66b7a8adf5cac5d95156cdae75feb5ae39
4
- data.tar.gz: 9909e3b390ef53daa70be54acbef2bedb5388b03
2
+ SHA256:
3
+ metadata.gz: 2c05808c0e94472e050d3837e3f264b5fa5c692eb1077154b2ee7ced3cd8ec3b
4
+ data.tar.gz: 3d807cd8a6a87b8eb5f3f929f15117b475d2316be1c3c5b77552d856da6620b1
5
5
  SHA512:
6
- metadata.gz: 15a411be7ebb7b02c9e98b05933f83f79b81dbc7599b79ab2b3a80d114ac8cd025b95e911caefdde351b29eafafbf42fcd7e2bc48ef9a51311f62db7c32b30f3
7
- data.tar.gz: f612112f8f502ee35031b745a14ba55ae05ac7428706ea5abd35344d840b959b45399e61875c6479a402d2f295af6792de33f22d9c2a66a9e9bebf76648d68e7
6
+ metadata.gz: 4b0c4baa5cfcd3f1f154e01f35c05db6fd151ae9734a0971fe14339dd835b8d99f684bdfbe4b14af9469c313e89576bcfd0e86b5bdcaa902c33f1911bd14d47d
7
+ data.tar.gz: 601c89e9e832335bae1363f2854adeb341405997e1cd1b7ad7db162e1a1d82f034e4f58ded57d02f0ca9b0d9d231351028111f5ba93059ac10bc5003dc4ab763
data/.travis.yml CHANGED
@@ -11,3 +11,14 @@ notifications:
11
11
  - tomas.celizna@gmail.com
12
12
  on_failure: change
13
13
  on_success: never
14
+
15
+ matrix:
16
+ include:
17
+ - rvm: 2.3.3
18
+ env: MONGOID_VERSION=4
19
+ - rvm: 2.3.3
20
+ env: MONGOID_VERSION=5
21
+ - rvm: 2.3.3
22
+ env: MONGOID_VERSION=6
23
+ - rvm: 2.5.0
24
+ env: MONGOID_VERSION=7
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+
3
+ ## 0.1.8
4
+
5
+ * Mongoid 7 compatibility
data/Gemfile CHANGED
@@ -1,4 +1,12 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in mongoid_markdown_extension.gemspec
4
- gemspec
4
+ gemspec
5
+
6
+ case version = ENV['MONGOID_VERSION'] || '~> 7.0'
7
+ when /7/ then gem 'mongoid', '~> 7.0'
8
+ when /6/ then gem 'mongoid', '~> 6.0'
9
+ when /5/ then gem 'mongoid', '~> 5.1'
10
+ when /4/ then gem 'mongoid', '~> 4.0'
11
+ else gem 'mongoid', version
12
+ end
@@ -1,3 +1,3 @@
1
1
  module MongoidMarkdownExtension
2
- VERSION = '0.1.7'.freeze
2
+ VERSION = '0.1.8'.freeze
3
3
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ['lib']
20
20
 
21
21
  spec.add_dependency 'redcarpet', '~> 3.4'
22
- spec.add_dependency 'mongoid', '>= 4.0'
22
+ spec.add_dependency 'mongoid', '>= 4.0', '< 8'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.6'
25
25
  spec.add_development_dependency 'coveralls'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_markdown_extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-15 00:00:00.000000000 Z
11
+ date: 2018-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcarpet
@@ -31,6 +31,9 @@ dependencies:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '8'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,6 +41,9 @@ dependencies:
38
41
  - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '4.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '8'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: bundler
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -91,6 +97,7 @@ files:
91
97
  - ".coveralls.yml"
92
98
  - ".gitignore"
93
99
  - ".travis.yml"
100
+ - CHANGELOG.md
94
101
  - Gemfile
95
102
  - LICENSE
96
103
  - README.md
@@ -122,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
129
  version: '0'
123
130
  requirements: []
124
131
  rubyforge_project:
125
- rubygems_version: 2.5.2
132
+ rubygems_version: 2.7.3
126
133
  signing_key:
127
134
  specification_version: 4
128
135
  summary: Custom field type for Mongoid that handles Markdown conversion via Redcarpet