teleporter 0.0.30 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generators/initial/rspec.rb +3 -7
- data/lib/generators/initial/templates/rspec/configs/rspec_base.rb +4 -0
- data/lib/generators/initial/templates/rspec/factories/_sample.rb +24 -0
- data/lib/generators/initial/templates/rspec/shared_examples/{sample_shared.rb → _sample_shared.rb} +0 -0
- data/lib/teleporter/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84fabd09f0d1002a4b99cb8c5e336e55373b74d9
|
4
|
+
data.tar.gz: 63968f4d788dab2f28f6f93f0ee536097c3073c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 317df7492a7d74455f7b7804adfd3e50d35cf2fce214896d26e034bfda1d4764658cc1b9564ba2ee804c4aae1677d6d4fa3be848f4a51a34cf3524dce876886c
|
7
|
+
data.tar.gz: 8f3fc1e25cf137a68e098b652eb3d2ecd3404ed60d51d1c398cf21ec2792691817467524bd0714d9cc447bac710bbf4a63a98c03e4aca2a79aa433053eb350ad
|
@@ -27,13 +27,9 @@ module Initial
|
|
27
27
|
|
28
28
|
generate 'rspec:install'
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
template 'rspec/configs/devise.rb', 'spec/support/configs/devise.rb'
|
34
|
-
template 'rspec/configs/vcr.rb', 'spec/support/configs/vcr.rb'
|
35
|
-
|
36
|
-
template 'rspec/shared_examples/sample_shared.rb', 'spec/support/shared_examples/sample_shared.rb'
|
30
|
+
directory 'rspec/configs', 'spec/support/configs'
|
31
|
+
directory 'rspec/factories', 'spec/factories'
|
32
|
+
directory 'rspec/shared_examples', 'spec/support/shared_examples'
|
37
33
|
end
|
38
34
|
|
39
35
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#FactoryGirl.define do
|
2
|
+
# factory :user do
|
3
|
+
# first_name "John"
|
4
|
+
# sequence(:title) { |n| "Title #{n}" }
|
5
|
+
# date_of_birth { 21.years.ago }
|
6
|
+
# email { "#{first_name}.#{last_name}@example.com".downcase }
|
7
|
+
# end
|
8
|
+
#
|
9
|
+
# factory :admin, class: User do
|
10
|
+
# first_name "Admin"
|
11
|
+
# end
|
12
|
+
#
|
13
|
+
# factory :post do
|
14
|
+
# user
|
15
|
+
# association :author, factory: :user, last_name: "Writely"
|
16
|
+
#
|
17
|
+
# trait :with_comments do
|
18
|
+
# after(:create) do |post|
|
19
|
+
# create_list :comment, 2, todo_item: post
|
20
|
+
# end
|
21
|
+
# end
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
#end
|
data/lib/generators/initial/templates/rspec/shared_examples/{sample_shared.rb → _sample_shared.rb}
RENAMED
File without changes
|
data/lib/teleporter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teleporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ponomarev Nikolay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -105,8 +105,10 @@ files:
|
|
105
105
|
- lib/generators/initial/templates/rspec/configs/database_cleaner.rb
|
106
106
|
- lib/generators/initial/templates/rspec/configs/devise.rb
|
107
107
|
- lib/generators/initial/templates/rspec/configs/factory_girl.rb
|
108
|
+
- lib/generators/initial/templates/rspec/configs/rspec_base.rb
|
108
109
|
- lib/generators/initial/templates/rspec/configs/vcr.rb
|
109
|
-
- lib/generators/initial/templates/rspec/
|
110
|
+
- lib/generators/initial/templates/rspec/factories/_sample.rb
|
111
|
+
- lib/generators/initial/templates/rspec/shared_examples/_sample_shared.rb
|
110
112
|
- lib/generators/initial/templates/welcome/index.haml
|
111
113
|
- lib/generators/initial/templates/welcome/welcome_controller.rb
|
112
114
|
- lib/generators/initial/welcome.rb
|