active_record_model_and_rspec_enhanced_templates 1.0.9 → 1.0.10
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: c897e6f492552d7f3894f100badd99a40e18e0f7
|
4
|
+
data.tar.gz: 8d97f6959f2c7954955a812b86522db0c23fd9fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d5b9aafcae26b05929abbcca108562698e6ce52aadce62733cd56eacb570962d8a3f9a6a88668b0123241d39f1c17ea7cf6ea54c510ec43891cfec4646d7f2c
|
7
|
+
data.tar.gz: 52cc029f7afc11656171f974780930018f55ad6527f7b82ef4921a694b1b2facbf2b10c30b104c11e96dab50fe9a25c732c75871657add4a88f68995d5a582a8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.10
|
@@ -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.0.
|
5
|
+
# stub: active_record_model_and_rspec_enhanced_templates 1.0.10 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.0.
|
9
|
+
s.version = "1.0.10"
|
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-08-26"
|
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,7 +18,9 @@ describe <%= class_name %>, type: :model do
|
|
18
18
|
subject { <%= class_name %>.create @valid_attrs }
|
19
19
|
<% end -%>
|
20
20
|
|
21
|
-
|
21
|
+
describe 'validatins' do
|
22
|
+
it { should be_valid }
|
23
|
+
end # validatins
|
22
24
|
|
23
25
|
<% if attribute = attributes.detect{|a| a.name == 'position'} || attributes.detect{|a| a.name == 'name'} || attributes.detect{|a| a.name == 'title'} || attributes.first -%>
|
24
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.0.
|
4
|
+
version: 1.0.10
|
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-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|