attr_default 0.8.0.pre.6 → 0.8.0.pre.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -7
- data/Rakefile +0 -1
- data/attr_default.gemspec +13 -8
- data/lib/attr_default/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f557b7318a23759aef044c7d5eb9444840ae21e430dfff9d35fdf9c23787cf05
|
4
|
+
data.tar.gz: 6c0f0e884aa277b45bd91f1474530df4e92be25937bb99a5de0d2a224ff1c9e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ac58c8fb116c14d3ba87ec779793eedde9fbea68d365c6eb4c0382878836f4337b49237aee895397a90151c8de97267b93b9b2324c94492888f95389b21a7c
|
7
|
+
data.tar.gz: 5fc4892d5dbd45f5791ac39725d2b5fb7163d8970f647222e8193ba29db8f39623c5584524a066c5a2074583628d0e69132eccc64bd27dd99169f2878340dd80
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
attr_default (0.8.0.pre.
|
5
|
-
|
4
|
+
attr_default (0.8.0.pre.7)
|
5
|
+
rails (~> 4.2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -50,10 +50,6 @@ GEM
|
|
50
50
|
erubis (2.7.0)
|
51
51
|
globalid (0.4.2)
|
52
52
|
activesupport (>= 4.2.0)
|
53
|
-
hobofields (0.9.106)
|
54
|
-
hobosupport (= 0.9.106)
|
55
|
-
rails (>= 2.2.2)
|
56
|
-
hobosupport (0.9.106)
|
57
53
|
i18n (0.9.5)
|
58
54
|
concurrent-ruby (~> 1.0)
|
59
55
|
loofah (2.4.0)
|
@@ -128,7 +124,7 @@ DEPENDENCIES
|
|
128
124
|
minitest
|
129
125
|
minitest-reporters
|
130
126
|
pry
|
131
|
-
rake
|
127
|
+
rake
|
132
128
|
sqlite3
|
133
129
|
|
134
130
|
BUNDLED WITH
|
data/Rakefile
CHANGED
data/attr_default.gemspec
CHANGED
@@ -1,11 +1,19 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/attr_default/version'
|
2
4
|
|
3
5
|
Gem::Specification.new do |gem|
|
4
|
-
gem.
|
5
|
-
gem.
|
6
|
+
gem.name = "attr_default"
|
7
|
+
gem.require_paths = ["lib"]
|
8
|
+
gem.version = AttrDefault::VERSION
|
9
|
+
gem.authors = ["Invoca Development"]
|
10
|
+
gem.email = ["development@invoca.com"]
|
6
11
|
gem.description = %q{Dynamic Ruby defaults for ActiveRecord attributes}
|
7
12
|
gem.summary = %q{Dynamic Ruby defaults for ActiveRecord attributes. These are lazy evaluated just in time: when first accessed, or just before validation or save. This allows dynamic defaults to depend on attributes that are assigned after initialization, or on other dynamic defaults.}
|
8
|
-
gem.homepage = "https://github.com/
|
13
|
+
gem.homepage = "https://github.com/Invoca/attr_default"
|
14
|
+
gem.metadata = {
|
15
|
+
"allowed_push_host" => "https://rubygems.org"
|
16
|
+
}
|
9
17
|
|
10
18
|
gem.metadata = {
|
11
19
|
'allowed_push_host' => 'https://rubygems.org'
|
@@ -14,9 +22,6 @@ Gem::Specification.new do |gem|
|
|
14
22
|
gem.files = `git ls-files`.split($\)
|
15
23
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
24
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/.*\.rb})
|
17
|
-
gem.name = "attr_default"
|
18
|
-
gem.require_paths = ["lib"]
|
19
|
-
gem.version = AttrDefault::VERSION
|
20
25
|
|
21
|
-
gem.add_dependency '
|
26
|
+
gem.add_dependency 'rails', '~> 4.2'
|
22
27
|
end
|
data/lib/attr_default/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attr_default
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0.pre.
|
4
|
+
version: 0.8.0.pre.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Invoca
|
7
|
+
- Invoca Development
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '4.2'
|
27
27
|
description: Dynamic Ruby defaults for ActiveRecord attributes
|
28
28
|
email:
|
29
29
|
- development@invoca.com
|
@@ -49,7 +49,7 @@ files:
|
|
49
49
|
- test/reports/.gitkeep
|
50
50
|
- test/test_helper.rb
|
51
51
|
- test/test_models.rb
|
52
|
-
homepage: https://github.com/
|
52
|
+
homepage: https://github.com/Invoca/attr_default
|
53
53
|
licenses: []
|
54
54
|
metadata:
|
55
55
|
allowed_push_host: https://rubygems.org
|