espace_membre-ruby 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c258e17d1e82b3ab146fda248c7965c75d1cfd99b93cb50ef939f160a0912cfe
4
- data.tar.gz: 6c507ab614866e67676b08403c3aa0dcdd0b4300f0e7d6b4baaecd7d200c2456
3
+ metadata.gz: 460f0ffdf17b8054cfd296f2183dbf9e3bcb8499caf4c729a2133dfb3af6c4f2
4
+ data.tar.gz: 2b744707d7fdffc4ead27efd95e656b78096ccaaaf7bbeac94a29442d2c29642
5
5
  SHA512:
6
- metadata.gz: 901194965d084d289a5e98a433f9f25dce530d5df8703fe4982bc5be63b307974df6ce659b78d01914f44d3d41730fa4ae3bda2c8c439a60c547122ccc56bdae
7
- data.tar.gz: 62754ab1839b77b71498ed056530b2374de54c74d10e0882909bf48766b042d8b2bf7a85045bdd6aea4f9d14f113613f85ca184a9ea7b92156cf9c1abd9285ce
6
+ metadata.gz: 532cbe5aa71a93b95c5cb0bc2fb6cef2c64c5785e1d998d79845cd8372d3182839266fc3b55b22b9c4484b40eebac95b4c1e37854656c6edf84258d1e07c17fb
7
+ data.tar.gz: d2a1e14715185f52325af785c2eef8250f32f69446a628bb18fa74e5fe0a3450873d236a6d597c7d47193b35cc024d4fef0b6febccba45dc15660961ab1276be
data/README.md CHANGED
@@ -6,9 +6,9 @@ Espace-Membre database to allow writing simple Ruby apps around it.
6
6
  ## TODO
7
7
 
8
8
  - [ ] allow configuration (database name)
9
- - [ ] restore RSpec
10
- - [ ] run the tests
11
- - [ ] distribute.
9
+ - [X] restore RSpec
10
+ - [X] run the tests
11
+ - [X] distribute.
12
12
 
13
13
  ## Installation
14
14
  Add this line to your application's Gemfile:
@@ -12,11 +12,15 @@ module EspaceMembre
12
12
 
13
13
  path = [File.expand_path('../../../spec/dummy/spec/factories', __FILE__)]
14
14
 
15
- FactoryBot.definition_file_paths += path if defined?(FactoryBotRails)
15
+ if defined?(FactoryBotRails)
16
+ FactoryBot.class_eval do
17
+ definition_file_paths += path
16
18
 
17
- FactoryBot.factories.clear
19
+ factories.clear
18
20
 
19
- FactoryBot.find_definitions
21
+ find_definitions
22
+ end
23
+ end
20
24
  end
21
25
  end
22
26
  end
@@ -1,3 +1,3 @@
1
1
  module EspaceMembre
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: espace_membre-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stéphane Maniaci