active_record_model_and_rspec_enhanced_templates 1.2 → 1.3

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
  SHA256:
3
- metadata.gz: 2f46f5a74e60856a1999b6a00635f1bab3a013c192afa73cc8a6b2205853362b
4
- data.tar.gz: 13f6cf0b2e5fb038b3f63cec832b09ffbedc2bf25c53897edfbf2ec234848524
3
+ metadata.gz: e0cb72f7315c0fb1fb51878964b3a2b0cba767db2ce04d8693b91f25522512ea
4
+ data.tar.gz: a2c36bd48cfc4c0043141468b6d6ca75bdbd9d107f04b1d4f172150498f35b33
5
5
  SHA512:
6
- metadata.gz: e50eca499d7a8a159c2478ec93eda684f07be6dd5b81915ed09944bfab0d6062235a807287925398ada065cb526a06a0e9c60f85f45a0d30e75f598d9a420f96
7
- data.tar.gz: a625741e86ede184aa41f56487d0623440488954ac7529a31e79447083cacf584e3c48b633b6ca2e10ce66b37df5ab0b678d53f58d32e172912fdbb45f745394
6
+ metadata.gz: 9e3da152ce21e570de21c7558d493f2651a6b741cb102ab24964b037b5aaa11e9a0021d575697b9b10d231753f1b121c55b255cc59763302ac21ae0f44fb3fe9
7
+ data.tar.gz: 8dacefa509c343dc71b5d8a2b7b91b1e5dba2294cb703bf6e49c424cd42a3ca953994e7cb0117ab2129e8178ef11296af09e63debc9c778f407b5741758226b1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2
1
+ 1.3
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: active_record_model_and_rspec_enhanced_templates 1.2 ruby lib
5
+ # stub: active_record_model_and_rspec_enhanced_templates 1.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "active_record_model_and_rspec_enhanced_templates".freeze
9
- s.version = "1.2"
9
+ s.version = "1.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Dmitri Koulikoff".freeze]
14
- s.date = "2019-05-22"
14
+ s.date = "2019-12-12"
15
15
  s.description = "ActiveRecord generator and RSpec templates that add some basic functionality to the model and its spec".freeze
16
16
  s.email = "dima@koulikoff.ru".freeze
17
17
  s.extra_rdoc_files = [
@@ -8,7 +8,7 @@ require 'spec_helper'
8
8
  describe <%= class_name %>, type: :model do
9
9
 
10
10
  <% if options[:fixture_replacement] == :factory_bot -%>
11
- subject { create :<%= singular_name %> }
11
+ subject(:<%= singular_name %>) { create :<%= singular_name %> }
12
12
  <% else -%>
13
13
  before :each do
14
14
  @valid_attrs = {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_model_and_rspec_enhanced_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: '1.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-22 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake