clowne 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +0 -2
- data/lib/clowne/adapters/active_record/associations/noop.rb +1 -1
- data/lib/clowne/adapters/base/association.rb +1 -1
- data/lib/clowne/adapters/sequel/associations/one_to_many.rb +0 -4
- data/lib/clowne/ext/record_key.rb +1 -1
- data/lib/clowne/version.rb +1 -1
- metadata +7 -113
- data/.codeclimate.yml +0 -7
- data/.gitattributes +0 -1
- data/.github/workflows/rspec-jruby.yml +0 -33
- data/.github/workflows/rspec-truffle.yml +0 -35
- data/.github/workflows/rspec.yml +0 -51
- data/.github/workflows/rubocop.yml +0 -20
- data/.gitignore +0 -16
- data/.rspec +0 -3
- data/.rubocop.yml +0 -29
- data/.rufo +0 -3
- data/Gemfile +0 -20
- data/Rakefile +0 -8
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/clowne.gemspec +0 -36
- data/docs/.nojekyll +0 -0
- data/docs/.rubocop.yml +0 -15
- data/docs/CNAME +0 -1
- data/docs/README.md +0 -131
- data/docs/_sidebar.md +0 -25
- data/docs/active_record.md +0 -33
- data/docs/after_clone.md +0 -53
- data/docs/after_persist.md +0 -77
- data/docs/architecture.md +0 -138
- data/docs/assets/docsify.min.js +0 -1
- data/docs/assets/prism-ruby.min.js +0 -1
- data/docs/assets/styles.css +0 -348
- data/docs/assets/vue.css +0 -1
- data/docs/clone_mapper.md +0 -59
- data/docs/customization.md +0 -63
- data/docs/exclude_association.md +0 -61
- data/docs/finalize.md +0 -31
- data/docs/from_v02_to_v1.md +0 -83
- data/docs/getting_started.md +0 -171
- data/docs/implicit_cloner.md +0 -33
- data/docs/include_association.md +0 -133
- data/docs/index.html +0 -29
- data/docs/init_as.md +0 -40
- data/docs/inline_configuration.md +0 -37
- data/docs/nullify.md +0 -33
- data/docs/operation.md +0 -55
- data/docs/parameters.md +0 -112
- data/docs/sequel.md +0 -50
- data/docs/supported_adapters.md +0 -10
- data/docs/testing.md +0 -194
- data/docs/traits.md +0 -25
- data/gemfiles/activerecord42.gemfile +0 -9
- data/gemfiles/jruby.gemfile +0 -10
- data/gemfiles/railsmaster.gemfile +0 -10
- data/lib/clowne/ext/yield_self_then.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 004ac1ee9bc76bef1a90a30081f5ab68445d063cc8a7d4ebae671d654a295c4f
|
4
|
+
data.tar.gz: c40aed0331904a7b1752f08c04f9be2b1551fe0b9c8d0712be62adfb4c65e57c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eff581f8bf40d555fd3d446f6f5bbbb36c013fbf9a669e3c978d72ca85fd3ad2977d7c23ab3edc16356a76f07926558ca81619100993a5fa599c747dc88d4937
|
7
|
+
data.tar.gz: 45af78b6c47d140cfd80292141946f460350a382704c4125199ac7ffbcb23913da2a75f75cb575a3a9bf470350c8530360ddd326362eea611bf88af9b1e94a8c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## 1.5.0 (2023-08-25)
|
4
|
+
|
5
|
+
- Ruby 3.2 compatibility. ([@sgerrand][])
|
6
|
+
- **Ruby 2.7 is required.**
|
7
|
+
|
3
8
|
## 1.3.0 (2021-05-11)
|
4
9
|
|
5
10
|
- Added Ruby 3.0 support ([@pomartel][])
|
@@ -59,3 +64,4 @@ See [migration guide](https://clowne.evilmartians.io/docs/from_v02_to_v10.html)
|
|
59
64
|
[@pomartel]: https://github.com/pomartel
|
60
65
|
[@mpestov]: https://github.com/mpestov
|
61
66
|
[@Sub-Xaero]: https://github.com/Sub-Xaero
|
67
|
+
[@sgerrand]: https://github.com/sgerrand
|
data/README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/clowne.svg)](https://badge.fury.io/rb/clowne)
|
2
2
|
[![Build Status](https://github.com/clowne-rb/clowne/actions/workflows/rspec.yml/badge.svg?branch=master)](https://github.com/clowne-rb/clowne/actions?query=branch%3Amaster+)
|
3
|
-
[![Maintainability](https://api.codeclimate.com/v1/badges/9143c4f91e9d1d2a4bd1/maintainability)](https://codeclimate.com/github/clowne-rb/clowne/maintainability)
|
4
3
|
[![Docs](https://img.shields.io/badge/docs-link-brightgreen.svg)](https://clowne.evilmartians.io)
|
5
4
|
|
6
5
|
# Clowne
|
@@ -14,7 +13,6 @@ A flexible gem for cloning your models. Clowne focuses on ease of use and provid
|
|
14
13
|
<a href="https://evilmartians.com/">
|
15
14
|
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54"></a>
|
16
15
|
|
17
|
-
|
18
16
|
## Installation
|
19
17
|
|
20
18
|
To install Clowne with RubyGems:
|
@@ -57,7 +57,7 @@ module Clowne
|
|
57
57
|
def cloner_for(child)
|
58
58
|
return declaration.clone_with if declaration.clone_with
|
59
59
|
|
60
|
-
|
60
|
+
child.class.cloner_class if child.class.respond_to?(:cloner_class)
|
61
61
|
end
|
62
62
|
|
63
63
|
def cloner_options
|
@@ -4,7 +4,7 @@ module Clowne
|
|
4
4
|
module Ext
|
5
5
|
module RecordKey # :nodoc: all
|
6
6
|
def key(record)
|
7
|
-
id = record.respond_to?(:id) && record.id ? record.id : record.__id__
|
7
|
+
id = (record.respond_to?(:id) && record.id) ? record.id : record.__id__
|
8
8
|
[record.class.name, id].join("#")
|
9
9
|
end
|
10
10
|
end
|
data/lib/clowne/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clowne
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dementyev
|
8
8
|
- Sverchkov Nikolay
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -73,62 +73,6 @@ dependencies:
|
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '5'
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: rubocop
|
78
|
-
requirement: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.22'
|
83
|
-
type: :development
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.22'
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: rubocop-md
|
92
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1'
|
97
|
-
type: :development
|
98
|
-
prerelease: false
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1'
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: rubocop-rspec
|
106
|
-
requirement: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '2.5'
|
111
|
-
type: :development
|
112
|
-
prerelease: false
|
113
|
-
version_requirements: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '2.5'
|
118
|
-
- !ruby/object:Gem::Dependency
|
119
|
-
name: standard
|
120
|
-
requirement: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 1.4.0
|
125
|
-
type: :development
|
126
|
-
prerelease: false
|
127
|
-
version_requirements: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 1.4.0
|
132
76
|
description: A flexible gem for cloning your models.
|
133
77
|
email:
|
134
78
|
- palkan@evilmartians.com
|
@@ -137,58 +81,9 @@ executables: []
|
|
137
81
|
extensions: []
|
138
82
|
extra_rdoc_files: []
|
139
83
|
files:
|
140
|
-
- ".codeclimate.yml"
|
141
|
-
- ".gitattributes"
|
142
|
-
- ".github/workflows/rspec-jruby.yml"
|
143
|
-
- ".github/workflows/rspec-truffle.yml"
|
144
|
-
- ".github/workflows/rspec.yml"
|
145
|
-
- ".github/workflows/rubocop.yml"
|
146
|
-
- ".gitignore"
|
147
|
-
- ".rspec"
|
148
|
-
- ".rubocop.yml"
|
149
|
-
- ".rufo"
|
150
84
|
- CHANGELOG.md
|
151
|
-
- Gemfile
|
152
85
|
- LICENSE.txt
|
153
86
|
- README.md
|
154
|
-
- Rakefile
|
155
|
-
- bin/console
|
156
|
-
- bin/setup
|
157
|
-
- clowne.gemspec
|
158
|
-
- docs/.nojekyll
|
159
|
-
- docs/.rubocop.yml
|
160
|
-
- docs/CNAME
|
161
|
-
- docs/README.md
|
162
|
-
- docs/_sidebar.md
|
163
|
-
- docs/active_record.md
|
164
|
-
- docs/after_clone.md
|
165
|
-
- docs/after_persist.md
|
166
|
-
- docs/architecture.md
|
167
|
-
- docs/assets/docsify.min.js
|
168
|
-
- docs/assets/prism-ruby.min.js
|
169
|
-
- docs/assets/styles.css
|
170
|
-
- docs/assets/vue.css
|
171
|
-
- docs/clone_mapper.md
|
172
|
-
- docs/customization.md
|
173
|
-
- docs/exclude_association.md
|
174
|
-
- docs/finalize.md
|
175
|
-
- docs/from_v02_to_v1.md
|
176
|
-
- docs/getting_started.md
|
177
|
-
- docs/implicit_cloner.md
|
178
|
-
- docs/include_association.md
|
179
|
-
- docs/index.html
|
180
|
-
- docs/init_as.md
|
181
|
-
- docs/inline_configuration.md
|
182
|
-
- docs/nullify.md
|
183
|
-
- docs/operation.md
|
184
|
-
- docs/parameters.md
|
185
|
-
- docs/sequel.md
|
186
|
-
- docs/supported_adapters.md
|
187
|
-
- docs/testing.md
|
188
|
-
- docs/traits.md
|
189
|
-
- gemfiles/activerecord42.gemfile
|
190
|
-
- gemfiles/jruby.gemfile
|
191
|
-
- gemfiles/railsmaster.gemfile
|
192
87
|
- lib/clowne.rb
|
193
88
|
- lib/clowne/adapters/active_record.rb
|
194
89
|
- lib/clowne/adapters/active_record/associations.rb
|
@@ -232,7 +127,6 @@ files:
|
|
232
127
|
- lib/clowne/ext/orm_ext.rb
|
233
128
|
- lib/clowne/ext/record_key.rb
|
234
129
|
- lib/clowne/ext/string_constantize.rb
|
235
|
-
- lib/clowne/ext/yield_self_then.rb
|
236
130
|
- lib/clowne/planner.rb
|
237
131
|
- lib/clowne/resolvers/after_clone.rb
|
238
132
|
- lib/clowne/resolvers/after_persist.rb
|
@@ -258,7 +152,7 @@ metadata:
|
|
258
152
|
documentation_uri: https://clowne.evilmartians.io/
|
259
153
|
homepage_uri: https://clowne.evilmartians.io/
|
260
154
|
source_code_uri: http://github.com/clowne-rb/clowne
|
261
|
-
post_install_message:
|
155
|
+
post_install_message:
|
262
156
|
rdoc_options: []
|
263
157
|
require_paths:
|
264
158
|
- lib
|
@@ -266,15 +160,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
266
160
|
requirements:
|
267
161
|
- - ">="
|
268
162
|
- !ruby/object:Gem::Version
|
269
|
-
version:
|
163
|
+
version: 2.7.0
|
270
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
271
165
|
requirements:
|
272
166
|
- - ">="
|
273
167
|
- !ruby/object:Gem::Version
|
274
168
|
version: '0'
|
275
169
|
requirements: []
|
276
|
-
rubygems_version: 3.
|
277
|
-
signing_key:
|
170
|
+
rubygems_version: 3.4.8
|
171
|
+
signing_key:
|
278
172
|
specification_version: 4
|
279
173
|
summary: A flexible gem for cloning your models
|
280
174
|
test_files: []
|
data/.codeclimate.yml
DELETED
data/.gitattributes
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
docs/**/* linguist-vendored
|
@@ -1,33 +0,0 @@
|
|
1
|
-
name: JRuby Build
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches:
|
6
|
-
- master
|
7
|
-
pull_request:
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
rspec-jruby:
|
11
|
-
runs-on: ubuntu-latest
|
12
|
-
env:
|
13
|
-
BUNDLE_JOBS: 4
|
14
|
-
BUNDLE_RETRY: 3
|
15
|
-
steps:
|
16
|
-
- uses: actions/checkout@v2
|
17
|
-
- uses: actions/cache@v1
|
18
|
-
with:
|
19
|
-
path: /home/runner/bundle
|
20
|
-
key: bundle-${{ hashFiles('**/gemfiles/jruby.gemfile') }}-${{ hashFiles('**/*.gemspec') }}
|
21
|
-
restore-keys: |
|
22
|
-
bundle-
|
23
|
-
- uses: ruby/setup-ruby@v1
|
24
|
-
with:
|
25
|
-
ruby-version: jruby-9.2.15.0
|
26
|
-
- name: Bundle install
|
27
|
-
run: |
|
28
|
-
bundle config path /home/runner/bundle
|
29
|
-
bundle config --global gemfile gemfiles/jruby.gemfile
|
30
|
-
bundle install
|
31
|
-
- name: Run RSpec
|
32
|
-
run: |
|
33
|
-
bundle exec rspec --force-color
|
@@ -1,35 +0,0 @@
|
|
1
|
-
name: TruffleRuby Build
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches:
|
6
|
-
- master
|
7
|
-
pull_request:
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
rspec-truffle:
|
11
|
-
runs-on: ubuntu-latest
|
12
|
-
env:
|
13
|
-
BUNDLE_JOBS: 4
|
14
|
-
BUNDLE_RETRY: 3
|
15
|
-
steps:
|
16
|
-
- uses: actions/checkout@v2
|
17
|
-
- uses: actions/cache@v1
|
18
|
-
with:
|
19
|
-
path: /home/runner/bundle
|
20
|
-
key: bundle-${{ hashFiles('**/Gemfile') }}-${{ hashFiles('**/*.gemspec') }}
|
21
|
-
restore-keys: |
|
22
|
-
bundle-
|
23
|
-
- uses: ruby/setup-ruby@v1
|
24
|
-
with:
|
25
|
-
ruby-version: truffleruby-head
|
26
|
-
bundler: 2.2.15
|
27
|
-
bundler-cache: true
|
28
|
-
|
29
|
-
- name: Bundle install
|
30
|
-
run: |
|
31
|
-
bundle config path /home/runner/bundle
|
32
|
-
bundle install
|
33
|
-
- name: Run RSpec
|
34
|
-
run: |
|
35
|
-
bundle exec rspec --force-color
|
data/.github/workflows/rspec.yml
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
name: Build
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches:
|
6
|
-
- master
|
7
|
-
pull_request:
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
rspec:
|
11
|
-
runs-on: ubuntu-latest
|
12
|
-
env:
|
13
|
-
BUNDLE_JOBS: 4
|
14
|
-
BUNDLE_RETRY: 3
|
15
|
-
strategy:
|
16
|
-
fail-fast: false
|
17
|
-
matrix:
|
18
|
-
ruby: [2.7]
|
19
|
-
gemfile: ["gemfiles/railsmaster.gemfile"]
|
20
|
-
include:
|
21
|
-
- ruby: ruby-head
|
22
|
-
gemfile: "gemfiles/railsmaster.gemfile"
|
23
|
-
- ruby: 3.0
|
24
|
-
gemfile: "Gemfile"
|
25
|
-
- ruby: 2.7
|
26
|
-
gemfile: "Gemfile"
|
27
|
-
- ruby: 2.6.5
|
28
|
-
gemfile: "Gemfile"
|
29
|
-
- ruby: 2.5.7
|
30
|
-
gemfile: "gemfiles/activerecord42.gemfile"
|
31
|
-
steps:
|
32
|
-
- uses: actions/checkout@v2
|
33
|
-
- uses: actions/cache@v1
|
34
|
-
with:
|
35
|
-
path: /home/runner/bundle
|
36
|
-
key: bundle-${{ matrix.ruby }}-${{ matrix.gemfile }}-${{ hashFiles(matrix.gemfile) }}-${{ hashFiles('**/*.gemspec') }}
|
37
|
-
restore-keys: |
|
38
|
-
bundle-${{ matrix.ruby }}-${{ matrix.gemfile }}-
|
39
|
-
- uses: ruby/setup-ruby@v1
|
40
|
-
with:
|
41
|
-
ruby-version: ${{ matrix.ruby }}
|
42
|
-
- name: Bundle install
|
43
|
-
run: |
|
44
|
-
bundle config path /home/runner/bundle
|
45
|
-
bundle config --global gemfile ${{ matrix.gemfile }}
|
46
|
-
bundle install
|
47
|
-
bundle update
|
48
|
-
- name: Run RSpec
|
49
|
-
run: |
|
50
|
-
bundle exec rspec --force-color
|
51
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
name: Lint Ruby
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches:
|
6
|
-
- master
|
7
|
-
pull_request:
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
rubocop:
|
11
|
-
runs-on: ubuntu-latest
|
12
|
-
steps:
|
13
|
-
- uses: actions/checkout@v2
|
14
|
-
- uses: ruby/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: 2.7
|
17
|
-
- name: Lint Ruby code with RuboCop
|
18
|
-
run: |
|
19
|
-
bundle install --jobs 4 --retry 3
|
20
|
-
bundle exec rubocop
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
# add after moving docs to another tool
|
3
|
-
- 'standard/cop/block_single_line_braces'
|
4
|
-
- 'rubocop-md'
|
5
|
-
|
6
|
-
inherit_gem:
|
7
|
-
standard: config/base.yml
|
8
|
-
|
9
|
-
AllCops:
|
10
|
-
Exclude:
|
11
|
-
- 'bin/**/*'
|
12
|
-
- 'tmp/**/*'
|
13
|
-
- 'vendor/**/*'
|
14
|
-
- 'gemfiles/vendor/**/*'
|
15
|
-
- 'clowne.gemspec'
|
16
|
-
DisplayCopNames: true
|
17
|
-
TargetRubyVersion: 2.7
|
18
|
-
|
19
|
-
Markdown:
|
20
|
-
WarnInvalid: true
|
21
|
-
|
22
|
-
Lint/Void:
|
23
|
-
Exclude:
|
24
|
-
- 'docs/README.md'
|
25
|
-
- 'README.md'
|
26
|
-
|
27
|
-
Lint/ConstantDefinitionInBlock:
|
28
|
-
Exclude:
|
29
|
-
- 'spec/**/*'
|
data/.rufo
DELETED
data/Gemfile
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in clowne.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
gem "pry-byebug", platform: :mri
|
7
|
-
|
8
|
-
gem "sqlite3", "~> 1.4.2", platform: :ruby
|
9
|
-
gem "activerecord-jdbcsqlite3-adapter", "~> 50.0", platform: :jruby
|
10
|
-
gem "jdbc-sqlite3", platform: :jruby
|
11
|
-
|
12
|
-
gem "activerecord", ">= 6.0", "< 6.2.0"
|
13
|
-
gem "sequel", ">= 5.0"
|
14
|
-
gem "simplecov"
|
15
|
-
|
16
|
-
local_gemfile = "Gemfile.local"
|
17
|
-
|
18
|
-
if File.exist?(local_gemfile)
|
19
|
-
eval(File.read(local_gemfile)) # rubocop:disable Security/Eval
|
20
|
-
end
|
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "clowne"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/clowne.gemspec
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
lib = File.expand_path('lib', __dir__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require 'clowne/version'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = 'clowne'
|
7
|
-
spec.version = Clowne::VERSION
|
8
|
-
spec.authors = ['Vladimir Dementyev', 'Sverchkov Nikolay']
|
9
|
-
spec.email = ['palkan@evilmartians.com', 'ssnikolay@gmail.com']
|
10
|
-
|
11
|
-
spec.summary = 'A flexible gem for cloning your models'
|
12
|
-
spec.description = 'A flexible gem for cloning your models.'
|
13
|
-
spec.homepage = 'https://github.com/clowne-rb/clowne'
|
14
|
-
spec.license = 'MIT'
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
-
f.match(%r{^(test|spec|features)/})
|
18
|
-
end
|
19
|
-
spec.metadata = {
|
20
|
-
"bug_tracker_uri" => "http://github.com/clowne-rb/clowne/issues",
|
21
|
-
"changelog_uri" => "https://github.com/clowne-rb/clowne/blob/master/CHANGELOG.md",
|
22
|
-
"documentation_uri" => "https://clowne.evilmartians.io/",
|
23
|
-
"homepage_uri" => "https://clowne.evilmartians.io/",
|
24
|
-
"source_code_uri" => "http://github.com/clowne-rb/clowne"
|
25
|
-
}
|
26
|
-
spec.require_paths = ['lib']
|
27
|
-
|
28
|
-
spec.add_development_dependency 'bundler', '~> 2.0'
|
29
|
-
spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
|
30
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
|
-
spec.add_development_dependency 'factory_bot', '~> 5'
|
32
|
-
spec.add_development_dependency 'rubocop', '~> 1.22'
|
33
|
-
spec.add_development_dependency 'rubocop-md', '~> 1'
|
34
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.5'
|
35
|
-
spec.add_development_dependency 'standard', '~> 1.4.0'
|
36
|
-
end
|
data/docs/.nojekyll
DELETED
File without changes
|
data/docs/.rubocop.yml
DELETED
data/docs/CNAME
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
clowne.evilmartians.io
|