audited-activerecord 4.0.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6007fca01085ea44a39d58eeab78136b1318f2da
4
+ data.tar.gz: 75c963bb856326ff88eca65ad87df3dbded890cd
5
+ SHA512:
6
+ metadata.gz: f5e2cc9f38e2f90501fd9a199dbdd480a41a850adea882fc7798d9f8a1d9ce66136b2695820832d639427d48f5c69e9c4a2354da0255faa456fc991aab0a8a47
7
+ data.tar.gz: fc9de4c0e76a7f87dd9ad4f7ba4851c40db2036875a5cb502f907389465e494ff1d3d6b72f36e11f77747ab7a8211506157c7b0579154e6c8d70acaf644ee93e
@@ -1,5 +1,5 @@
1
1
  module Audited
2
2
  module ActiveRecord
3
- VERSION = "4.0.0"
3
+ VERSION = "4.2.0"
4
4
  end
5
5
  end
@@ -13,7 +13,7 @@ module Audited
13
13
  # Implement the required interface for Rails::Generators::Migration.
14
14
  def self.next_migration_number(dirname) #:nodoc:
15
15
  next_migration_number = current_migration_number(dirname) + 1
16
- if ActiveRecord::Base.timestamped_migrations
16
+ if ::ActiveRecord::Base.timestamped_migrations
17
17
  [Time.now.utc.strftime("%Y%m%d%H%M%S"), "%.14d" % next_migration_number].max
18
18
  else
19
19
  "%.3d" % next_migration_number
@@ -13,7 +13,7 @@ module Audited
13
13
  # Implement the required interface for Rails::Generators::Migration.
14
14
  def self.next_migration_number(dirname) #:nodoc:
15
15
  next_migration_number = current_migration_number(dirname) + 1
16
- if ActiveRecord::Base.timestamped_migrations
16
+ if ::ActiveRecord::Base.timestamped_migrations
17
17
  [Time.now.utc.strftime("%Y%m%d%H%M%S"), "%.14d" % next_migration_number].max
18
18
  else
19
19
  "%.3d" % next_migration_number
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: audited-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
5
- prerelease:
4
+ version: 4.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Brandon Keepers
@@ -14,38 +13,34 @@ authors:
14
13
  autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
- date: 2014-09-04 00:00:00.000000000 Z
16
+ date: 2015-03-31 00:00:00.000000000 Z
18
17
  dependencies:
19
18
  - !ruby/object:Gem::Dependency
20
19
  name: audited
21
20
  requirement: !ruby/object:Gem::Requirement
22
- none: false
23
21
  requirements:
24
22
  - - '='
25
23
  - !ruby/object:Gem::Version
26
- version: 4.0.0
24
+ version: 4.2.0
27
25
  type: :runtime
28
26
  prerelease: false
29
27
  version_requirements: !ruby/object:Gem::Requirement
30
- none: false
31
28
  requirements:
32
29
  - - '='
33
30
  - !ruby/object:Gem::Version
34
- version: 4.0.0
31
+ version: 4.2.0
35
32
  - !ruby/object:Gem::Dependency
36
33
  name: activerecord
37
34
  requirement: !ruby/object:Gem::Requirement
38
- none: false
39
35
  requirements:
40
- - - ~>
36
+ - - "~>"
41
37
  - !ruby/object:Gem::Version
42
38
  version: '4.0'
43
39
  type: :runtime
44
40
  prerelease: false
45
41
  version_requirements: !ruby/object:Gem::Requirement
46
- none: false
47
42
  requirements:
48
- - - ~>
43
+ - - "~>"
49
44
  - !ruby/object:Gem::Version
50
45
  version: '4.0'
51
46
  description: Log all changes to your ActiveRecord models
@@ -54,6 +49,7 @@ executables: []
54
49
  extensions: []
55
50
  extra_rdoc_files: []
56
51
  files:
52
+ - LICENSE
57
53
  - lib/audited-activerecord.rb
58
54
  - lib/audited/active_record/version.rb
59
55
  - lib/audited/adapters/active_record.rb
@@ -68,36 +64,28 @@ files:
68
64
  - lib/generators/audited/templates/rename_changes_to_audited_changes.rb
69
65
  - lib/generators/audited/templates/rename_parent_to_association.rb
70
66
  - lib/generators/audited/upgrade_generator.rb
71
- - LICENSE
72
67
  homepage: https://github.com/collectiveidea/audited
73
68
  licenses:
74
69
  - MIT
70
+ metadata: {}
75
71
  post_install_message:
76
72
  rdoc_options: []
77
73
  require_paths:
78
74
  - lib
79
75
  required_ruby_version: !ruby/object:Gem::Requirement
80
- none: false
81
76
  requirements:
82
- - - ! '>='
77
+ - - ">="
83
78
  - !ruby/object:Gem::Version
84
79
  version: '0'
85
- segments:
86
- - 0
87
- hash: 1630490927479577486
88
80
  required_rubygems_version: !ruby/object:Gem::Requirement
89
- none: false
90
81
  requirements:
91
- - - ! '>='
82
+ - - ">="
92
83
  - !ruby/object:Gem::Version
93
84
  version: '0'
94
- segments:
95
- - 0
96
- hash: 1630490927479577486
97
85
  requirements: []
98
86
  rubyforge_project:
99
- rubygems_version: 1.8.29
87
+ rubygems_version: 2.4.6
100
88
  signing_key:
101
- specification_version: 3
89
+ specification_version: 4
102
90
  summary: Log all changes to your ActiveRecord models
103
91
  test_files: []