ds_node 0.1.2 → 0.2.0

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: 6d4686be3bfc5fa9e64228a1dedb9773e3656562
4
- data.tar.gz: cf172ad56a88016dc303b4c6dc4a17bb799aca9c
2
+ SHA256:
3
+ metadata.gz: a873b37b20a39dfc94d7364ae0c6e0536fb346285ef9758a366c28ceec4454ff
4
+ data.tar.gz: 4f19e2b63978fe2841a5d1bcac194b8ffe7749e3c28259f0b408a4220bb2705e
5
5
  SHA512:
6
- metadata.gz: 7751f761f25b3c1b1888235cf5a6973c5cbb8e1b95c6d0c325b45fa4abf87131b7f80cb7010ef6197fb088a0e8d1311e3261a828a36d376dc9a949f285be0ade
7
- data.tar.gz: 644bf30a5641a5e1d583b0c5421c4252eb007f37db034efa0020f9251c81dae6a9fa562f1cebe0fde543013c5b5a188b9e963028636a18e68709c0b4097b18a0
6
+ metadata.gz: 9b448e492b840069bfca6d11369e2472783de9c2b2cd6c20589b8ee2481d87a605d5206ea74691a3e0c8cf5d561b718b0df8e168032f18e01694f52bd66bc901
7
+ data.tar.gz: f7e78ab2b6f57681cf60424fb0affd945b23cd72383a0a7b0435e800bd00daa3ddad42a087af9576db15224171d98787cac86a9f539eb118ed33d468d1b5f90a
data/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /.ruby-*
10
11
 
11
12
  # rspec failure tracking
12
13
  .rspec_status
data/ds_node.gemspec CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency "active_record-json_associations"
25
25
  spec.add_dependency "mime-types"
26
26
 
27
- spec.add_development_dependency "bundler", "~> 1.14"
28
- spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "bundler"
28
+ spec.add_development_dependency "rake"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
30
30
  spec.add_development_dependency "database_cleaner"
31
31
  spec.add_development_dependency "sqlite3"
@@ -30,7 +30,7 @@ module DSNode
30
30
  def ds_resource name, options = {}
31
31
  should_validate = options.fetch(:validate, true)
32
32
 
33
- belongs_to name, options.reverse_merge({
33
+ belongs_to name, **options.reverse_merge({
34
34
  class_name: "DSNode::Resource",
35
35
  required: false,
36
36
  })
@@ -110,7 +110,7 @@ module DSNode
110
110
  single_name = options.key?(:single_name) ? options.delete(:single_name) : name.to_s.singularize.to_sym
111
111
  prevent_destroy_last = options.key?(:prevent_destroy_last) ? options.delete(:prevent_destroy_last) : false
112
112
 
113
- belongs_to_many name, options.reverse_merge({
113
+ belongs_to_many name, **options.reverse_merge({
114
114
  class_name: "DSNode::Resource",
115
115
  })
116
116
 
@@ -1,3 +1,3 @@
1
1
  module DSNode
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ds_node
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-25 00:00:00.000000000 Z
11
+ date: 2022-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -56,30 +56,30 @@ dependencies:
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '1.14'
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '1.14'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -131,8 +131,6 @@ extra_rdoc_files: []
131
131
  files:
132
132
  - ".gitignore"
133
133
  - ".rspec"
134
- - ".ruby-gemset"
135
- - ".ruby-version"
136
134
  - ".travis.yml"
137
135
  - Gemfile
138
136
  - LICENSE.txt
@@ -167,8 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
165
  - !ruby/object:Gem::Version
168
166
  version: '0'
169
167
  requirements: []
170
- rubyforge_project:
171
- rubygems_version: 2.4.8
168
+ rubygems_version: 3.2.32
172
169
  signing_key:
173
170
  specification_version: 4
174
171
  summary: Gem for interfacing with Downstream's DSNode
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- ds_node
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.2.6