active_record_model_and_rspec_enhanced_templates 1.0.8 → 1.0.9

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: ea4ce550a8fe8146ae4bf8f14ac4026b716d3605
4
- data.tar.gz: 3af9f1320991f164550859ce4dac6dff1a909b14
3
+ metadata.gz: ee8d82da528ceab680409855dd8c2b99ac67e9b5
4
+ data.tar.gz: f301688b27b582a52f6862cd6756840674d2f699
5
5
  SHA512:
6
- metadata.gz: 97e29df749a3935c0fddf2141d3a1c955ed18d53c211bfeab044cab2a027c7e7eb5bb66245473abfa8fac30da2e221ee94488999ba87923a6530e93c51e1936a
7
- data.tar.gz: 8eeeae227b244ae542d66bcc8c4a3dd2f633f2d8a131c01355c2cd175ac72f0d930b015fd3f1df8f5985dd1c162799428aab9511f98c02e6c1df54e2b0dd9bcf
6
+ metadata.gz: ddd7949f694de29e97a435f36d27ad03a579f53e349f86ddfc6b8fc88b5fb5fd57a4907239d9b418556ead755717f8d006a33703d897769d6bd43d1e66068bf0
7
+ data.tar.gz: f4042aaa78d0fe6347337cafa1032e94deff4298a598b25c692eec499ec18e9e5bc13469c2ed8df5c208017c7534c428a0a5eb9a5ca7bd858d5bd1cc3a27f766
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.8
1
+ 1.0.9
@@ -2,11 +2,11 @@
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.8 ruby lib
5
+ # stub: active_record_model_and_rspec_enhanced_templates 1.0.9 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.8"
9
+ s.version = "1.0.9"
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"]
@@ -21,8 +21,8 @@ describe <%= class_name %>, type: :model do
21
21
  it { should be_valid }
22
22
 
23
23
  <% if attribute = attributes.detect{|a| a.name == 'position'} || attributes.detect{|a| a.name == 'name'} || attributes.detect{|a| a.name == 'title'} || attributes.first -%>
24
- describe :class do
25
- describe :scopes do
24
+ describe 'class methods' do
25
+ describe 'scopes' do
26
26
  describe '.ordered' do
27
27
  it 'orders the records of <%= class_name %> by :<%=attribute.name %>' do
28
28
  <% if options[:fixture_replacement] == :factory_girl -%>
@@ -36,7 +36,7 @@ describe <%= class_name %>, type: :model do
36
36
  end
37
37
  end # .ordered
38
38
  end # scopes
39
- end # class
39
+ end # class methods
40
40
 
41
41
  <% end -%>
42
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitri Koulikoff