rspec_rails_scaffold_templates 2.1.0 → 2.2.0

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: 742360ce10c3810d49ffc96de1ebc0247a7488f6
4
- data.tar.gz: 798f1fd9a1038a45e1ed7720d034407b782076bb
3
+ metadata.gz: c0397f662aeecac0d125dd33d0e0e0a7f69090b1
4
+ data.tar.gz: e8d7e1c5c9659bde7febc7937f831c97b70eaab5
5
5
  SHA512:
6
- metadata.gz: 595e0f0c89def9914ecbc203e1396269108f3329b7b8f0d7b8a53ca2852f1f438ecb107fe4479900fedd788beab1dc79bfefc2fe4c40c717516c2748029efe90
7
- data.tar.gz: 3e20b5d3bcaa36f965f2519e3f1b9696933333bc38e8eda0a09973e48329fa65d0384305fe2982baebc297c04b1c05164191b16638ac9a19c848eb3ad3e6c1a7
6
+ metadata.gz: fbd4df5857ae2c2f55986aa9f2d29bb68b215e6503df5e33d36238f0e81bcbebc495b56644bd6da3fe1b521a057715560b196f7dbae138c1598a213c0b857f18
7
+ data.tar.gz: d8e206c731e42c4d47a37c0809bb80ebe5a82f8e2bf821d121e36b04518a5f5be127db59cb951e52744b47016363d5e71bd6c35ebd08172e34b272aa906a8664
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.2.0
@@ -1 +1,4 @@
1
- require 'rspec_rails_scaffold_templates/generators/scaffold_generator' if defined?(Rails)
1
+ if defined?(Rails)
2
+ require 'rspec_rails_scaffold_templates/generators/scaffold_generator'
3
+ require 'rspec_rails_scaffold_templates/generators/integration_generator'
4
+ end
@@ -0,0 +1,11 @@
1
+ require 'generators/rspec'
2
+ require 'rails/generators/resource_helpers'
3
+
4
+ module Rspec
5
+ module Generators
6
+ class IntegrationGenerator < Base
7
+ include ::Rails::Generators::ResourceHelpers
8
+ source_paths.unshift File::expand_path('../templates/rspec/integration', __FILE__)
9
+ end
10
+ end
11
+ end
@@ -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: rspec_rails_scaffold_templates 2.1.0 ruby lib
5
+ # stub: rspec_rails_scaffold_templates 2.2.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rspec_rails_scaffold_templates"
9
- s.version = "2.1.0"
9
+ s.version = "2.2.0"
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-11-19"
14
+ s.date = "2016-11-26"
15
15
  s.description = "RSpec scaffold generator templates that use FactoryGirl and WiceGrid"
16
16
  s.email = "dima@koulikoff.ru"
17
17
  s.extra_rdoc_files = [
@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
27
27
  "Rakefile",
28
28
  "VERSION",
29
29
  "lib/rspec_rails_scaffold_templates.rb",
30
+ "lib/rspec_rails_scaffold_templates/generators/integration_generator.rb",
30
31
  "lib/rspec_rails_scaffold_templates/generators/scaffold_generator.rb",
31
32
  "lib/rspec_rails_scaffold_templates/generators/templates/rspec/integration/request_spec.rb",
32
33
  "lib/rspec_rails_scaffold_templates/generators/templates/rspec/scaffold/api_controller_spec.rb",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_rails_scaffold_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
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-19 00:00:00.000000000 Z
11
+ date: 2016-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -96,6 +96,7 @@ files:
96
96
  - Rakefile
97
97
  - VERSION
98
98
  - lib/rspec_rails_scaffold_templates.rb
99
+ - lib/rspec_rails_scaffold_templates/generators/integration_generator.rb
99
100
  - lib/rspec_rails_scaffold_templates/generators/scaffold_generator.rb
100
101
  - lib/rspec_rails_scaffold_templates/generators/templates/rspec/integration/request_spec.rb
101
102
  - lib/rspec_rails_scaffold_templates/generators/templates/rspec/scaffold/api_controller_spec.rb