vidibus-versioning 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 20111-2013 Andre Pankratz
3
+ Copyright (c) 2011-2013 Andre Pankratz
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Vidibus::Versioning [![](http://travis-ci.org/vidibus/vidibus-versioning.png)](http://travis-ci.org/vidibus/vidibus-versioning) [![](http://stillmaintained.com/vidibus/vidibus-versioning.png)](http://stillmaintained.com/vidibus/vidibus-versioning)
1
+ # Vidibus::Versioning [![Build Status](https://travis-ci.org/vidibus/vidibus-versioning.png)](https://travis-ci.org/vidibus/vidibus-versioning) [![Code Climate](https://codeclimate.com/github/vidibus/vidibus-versioning.png)](https://codeclimate.com/github/vidibus/vidibus-versioning)
2
2
 
3
3
  Vidibus::Versioning provides advanced versioning for Mongoid models including support for future and editable versions.
4
4
 
@@ -120,4 +120,4 @@ article.version_object # => nil
120
120
 
121
121
  ## Copyright
122
122
 
123
- Copyright (c) 2011 Andre Pankratz. See LICENSE for details.
123
+ Copyright (c) 2011-2013 Andre Pankratz. See LICENSE for details.
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ require 'vidibus/versioning/_version'
10
10
 
11
11
  Rake::RDocTask.new do |rdoc|
12
12
  rdoc.rdoc_dir = 'rdoc'
13
- rdoc.title = 'vidibus-sysinfo #{Vidibus::Versioning::VERSION}'
13
+ rdoc.title = "vidibus-versioning #{Vidibus::Versioning::VERSION}"
14
14
  rdoc.rdoc_files.include('README*')
15
15
  rdoc.rdoc_files.include('lib/**/*.rb')
16
16
  rdoc.options << '--charset=utf-8'
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Versioning
3
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -11,8 +11,7 @@ module Vidibus
11
11
  field :versioned_attributes, :type => Hash, :default => {}
12
12
  field :number, :type => Integer
13
13
 
14
- index :versioned_uuid
15
- index :number
14
+ index({versioned_uuid: 1, number: 1})
16
15
 
17
16
  validates :versioned_uuid, :versioned_attributes, :presence => true
18
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-28 00:00:00.000000000 Z
12
+ date: 2013-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '2.5'
21
+ version: '3'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: '2.5'
29
+ version: '3'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: vidibus-core_extensions
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -185,7 +185,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  segments:
187
187
  - 0
188
- hash: 819804143186839926
188
+ hash: 2214928841731694107
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  none: false
191
191
  requirements: