uuids 4.1.0 → 4.1.1

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
2
  SHA1:
3
- metadata.gz: 016e522c63a1b3f96e575a5e3cc46ebf45d4b7f8
4
- data.tar.gz: a23f8b1dc1bbc0e4588294ca6537526bec02d8cf
3
+ metadata.gz: f93eea7930c7e35cc6b0542f0e08b8d53f42b4fa
4
+ data.tar.gz: f3366beb9a693ed185e09e4e31f0986cf4d184b0
5
5
  SHA512:
6
- metadata.gz: 1265400e53725494f22c2a31b4c90de117a8caa5bc16e415aedf3732ddaac2d4ef403268f65a7ff1544f9c65421b5d9b6586abc51ffc3f95c56edceeb58457f5
7
- data.tar.gz: e635c00cf24e8c160723d7c9c2716014ec4199f0abfb90966f45685fdcdabcf010a42e7cab3bce6edb662b20821cbf33ab47d0f8ec61c0531b2618584ff82399
6
+ metadata.gz: 763717aec060066d166e17f6124d7f8403441cef7bb671fd6f223ba81941aa005e3fb93d7b5436d8ab24a93b74b08b4a7ee9ba6a0d29d206f044011f776b6cb3
7
+ data.tar.gz: 8ef018081ba71c6f2e1744583b0004763796e76a3ccb354a6bd0811229574ed1bc12c19bf97a19da445244d0ea923990d6122b460e866419b1bd182cc87444bf
data/lib/uuids/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Uuids
2
2
 
3
3
  # Current release.
4
- VERSION = "4.1.0"
4
+ VERSION = "4.1.1"
5
5
  end
Binary file
@@ -1,4 +1,4 @@
1
- require_relative "../config/factory_girl"
1
+ # encoding: utf-8
2
2
 
3
3
  FactoryGirl.define do
4
4
  factory :record do
@@ -1,8 +1,8 @@
1
- require_relative "../config/factory_girl"
1
+ # encoding: utf-8
2
2
 
3
3
  FactoryGirl.define do
4
4
  factory :uuid, class: Uuids::Models::Uuid do
5
5
  value { SecureRandom.uuid }
6
- record # defined in the `dummy/spec/factories`
6
+ record
7
7
  end
8
8
  end
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,14 @@
1
- # Checks code
1
+ # ==============================================================================
2
+ # Mounting point for runtime code specs.
3
+ # ==============================================================================
2
4
  require "coveralls"
3
- Coveralls.wear! "rails"
5
+ Coveralls.wear!
4
6
 
5
- # Loads dummy app.
6
- require_relative "dummy/lib/dummy"
7
-
8
- # Loads support files for runtime tests.
9
- %w(all runtime).each do |env|
10
- support = File.expand_path "../support/#{ env }/**/*.rb", __FILE__
11
- Dir[support].each { |f| require f }
12
- end
7
+ # Loads dummy app, support files and factories
8
+ spec = File.expand_path "..", __FILE__
9
+ Dir[
10
+ "#{ spec }/dummy/lib/dummy.rb",
11
+ "#{ spec }/support/all/**/*.rb",
12
+ "#{ spec }/support/runtime/**/*.rb",
13
+ "#{ spec }/factories/**/*.rb"
14
+ ].each { |f| require f }
@@ -1,15 +1,15 @@
1
- # Helper for testing dev environment features (generators) outside of
2
- # applications (both lib/uuids and dummy).
3
-
4
- # Checks code
1
+ # ==============================================================================
2
+ # Mounting point for generators test suite in isolation from runtime app.
3
+ # ==============================================================================
5
4
  require "coveralls"
6
5
  Coveralls.wear! "rails"
7
6
 
8
- # Loads generators.
7
+ # Loads generators
9
8
  require "active_record_install"
10
9
 
11
- # Loads support files for development tests.
12
- %w(development all).each do |env|
13
- support = File.expand_path "../support/#{ env }/**/*.rb", __FILE__
14
- Dir[support].each { |f| require f }
15
- end
10
+ # Loads support files
11
+ spec = File.expand_path "..", __FILE__
12
+ Dir[
13
+ "#{ spec }/support/all/**/*.rb",
14
+ "#{ spec }/support/development/**/*.rb"
15
+ ].each { |f| require f }
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uuids
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kozin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-15 00:00:00.000000000 Z
11
+ date: 2014-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hexx-active_record
@@ -221,7 +221,6 @@ files:
221
221
  - lib/uuids/base/belongs_to.rb
222
222
  - lib/uuids/base/has_uuids.rb
223
223
  - lib/uuids/version.rb
224
- - spec/bin/uuids_spec.rb
225
224
  - spec/dummy/Rakefile
226
225
  - spec/dummy/app/models/city.rb
227
226
  - spec/dummy/app/models/record.rb
@@ -237,9 +236,8 @@ files:
237
236
  - spec/dummy/db/schema.rb
238
237
  - spec/dummy/db/test.sqlite3
239
238
  - spec/dummy/lib/dummy.rb
240
- - spec/lib/uuids/base_spec.rb
241
- - spec/models/uuid_spec.rb
242
- - spec/services/add_spec.rb
239
+ - spec/factories/records.rb
240
+ - spec/factories/uuids.rb
243
241
  - spec/spec_helper.rb
244
242
  - spec/spec_helper_dev.rb
245
243
  - spec/support/all/config/focus.rb
@@ -256,8 +254,10 @@ files:
256
254
  - spec/support/runtime/config/database_cleaner.rb
257
255
  - spec/support/runtime/config/factory_girl.rb
258
256
  - spec/support/runtime/config/i18n.rb
259
- - spec/support/runtime/factories/records.rb
260
- - spec/support/runtime/factories/uuids.rb
257
+ - spec/uuids/bin/uuids_spec.rb
258
+ - spec/uuids/lib/base_spec.rb
259
+ - spec/uuids/models/uuid_spec.rb
260
+ - spec/uuids/services/add_spec.rb
261
261
  homepage: https://github.com/nepalez/uuids
262
262
  licenses:
263
263
  - MIT
@@ -283,9 +283,12 @@ signing_key:
283
283
  specification_version: 4
284
284
  summary: UUIDs AR model.
285
285
  test_files:
286
+ - spec/uuids/models/uuid_spec.rb
287
+ - spec/uuids/lib/base_spec.rb
288
+ - spec/uuids/services/add_spec.rb
289
+ - spec/uuids/bin/uuids_spec.rb
286
290
  - spec/spec_helper_dev.rb
287
291
  - spec/spec_helper.rb
288
- - spec/models/uuid_spec.rb
289
292
  - spec/dummy/config/environment.rb
290
293
  - spec/dummy/config/database.yml
291
294
  - spec/dummy/config/initializers/seed_loader.rb
@@ -301,9 +304,8 @@ test_files:
301
304
  - spec/dummy/app/models/city.rb
302
305
  - spec/dummy/lib/dummy.rb
303
306
  - spec/dummy/Rakefile
304
- - spec/lib/uuids/base_spec.rb
305
- - spec/services/add_spec.rb
306
- - spec/bin/uuids_spec.rb
307
+ - spec/factories/uuids.rb
308
+ - spec/factories/records.rb
307
309
  - spec/support/development/config/timecop.rb
308
310
  - spec/support/development/config/sandbox.rb
309
311
  - spec/support/development/matchers/sandbox.rb
@@ -318,8 +320,6 @@ test_files:
318
320
  - spec/support/runtime/config/i18n.rb
319
321
  - spec/support/runtime/config/factory_girl.rb
320
322
  - spec/support/runtime/config/database_cleaner.rb
321
- - spec/support/runtime/factories/uuids.rb
322
- - spec/support/runtime/factories/records.rb
323
323
  - Rakefile
324
324
  - ".rubocop.yml"
325
325
  has_rdoc: