active_record_model_and_rspec_enhanced_templates 1.1.0 → 1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa655377d29f8e5d90b4fe6dca60153c9897076f
|
4
|
+
data.tar.gz: cfcdea086ae54b76b973c663bffeb4771b0cb978
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33900573bb80ffc10bab7cbba5bdaa62017f32b8271ba484c7ad6aec3b534118d94be814e8d31dfbd79eff9f96eb1daf3444f1ecd18ff9db5d29ee8cc2e2e444
|
7
|
+
data.tar.gz: c87d196a7cf49c31e5396796fa48f16bdc9d1afcd427ebd17b5b18e4386d53a7d87041d0fcc7dcee8d8f42a1c1c38b2fc71ff4b03c95d490a4b48f860288e95c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
@@ -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.1.
|
5
|
+
# stub: active_record_model_and_rspec_enhanced_templates 1.1.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "active_record_model_and_rspec_enhanced_templates"
|
9
|
-
s.version = "1.1.
|
9
|
+
s.version = "1.1.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Dmitri Koulikoff"]
|
14
|
-
s.date = "2016-
|
14
|
+
s.date = "2016-10-04"
|
15
15
|
s.description = "ActiveRecord generator and RSpec templates that add some basic functionality to the model and its spec"
|
16
16
|
s.email = "dima@koulikoff.ru"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -18,9 +18,9 @@ describe <%= class_name %>, type: :model do
|
|
18
18
|
subject { <%= class_name %>.create @valid_attrs }
|
19
19
|
<% end -%>
|
20
20
|
|
21
|
-
describe '
|
21
|
+
describe 'validations' do
|
22
22
|
it { should be_valid }
|
23
|
-
end #
|
23
|
+
end # validations
|
24
24
|
|
25
25
|
<% if attribute = attributes.detect{|a| a.name == 'position'} || attributes.detect{|a| a.name == 'name'} || attributes.detect{|a| a.name == 'title'} || attributes.first -%>
|
26
26
|
describe 'class methods' do
|
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.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitri Koulikoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|