teleporter 0.0.17 → 0.0.18

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5f61e7c95e5a4edd3b52770e93602b451e4ecb9
4
- data.tar.gz: ff431d10ec5ba91ded167f00467d5a4554581e3a
3
+ metadata.gz: dd07d0dc65596255a67602dec85beae283d40a6b
4
+ data.tar.gz: 09252d3f9c1c5334bdd43a75cd7064b6f570451f
5
5
  SHA512:
6
- metadata.gz: 7c488a943bf2c86292e29e72f6f5cbad0036950717144cc08313f94a31c103bcf64798ee7c1db68e55aaa91aac74f119e490965db11e140be77e7b956a7170cf
7
- data.tar.gz: de60150a982f49ff900cd7bbce32079a15a99c04eb31a6ffd821a43aa1d244552ef971c21d648fdff9e07a1d8b30082d62bcff3d90fe4b9c129d0c687d73523f
6
+ metadata.gz: a97d5e38ea7f2670c5f8269fd36519de43d628874f552ce8b03c657eca0108f2cad7bcc398463a778950aef1a04f8ec4be0720fcd30736b88979a3ac2aabd1d9
7
+ data.tar.gz: 7f8117344b14fc5b98dede256d01641b7b66dd2405bd1c56e60b6e35c49e0602c42aac4f184f059d6cf29363b16f5df28c27041f7bb5d80a131102f61ffaf794
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ```
4
4
  $ rails g initial:start
5
5
  $ rails g initial:gemfile
6
- $ rails g initial:rspec_base
6
+ $ rails g initial:rspec
7
7
  $ rails g initial:welcome
8
8
  $ rails g initial:capistrano
9
9
 
@@ -0,0 +1,38 @@
1
+ module Initial
2
+ class RspecGenerator < Rails::Generators::Base
3
+ source_root File.expand_path("../templates", __FILE__)
4
+
5
+ def add
6
+ gem_group :development, :test do
7
+ gem "rspec-rails"
8
+ end
9
+
10
+ gem_group :test do
11
+ gem 'factory_girl_rails'
12
+ gem 'capybara'
13
+ gem 'database_cleaner'
14
+ gem 'shoulda-matchers'
15
+ gem 'poltergeist'
16
+ gem 'phantomjs', require: 'phantomjs/poltergeist'
17
+ gem 'vcr'
18
+ gem 'webmock'
19
+ end
20
+
21
+ run "bundle install"
22
+
23
+ generate 'rspec:install'
24
+
25
+ template 'rspec/configs/capybara.rb', 'spec/support/configs/capybara.rb'
26
+ template 'rspec/configs/database_cleaner.rb', 'spec/support/configs/database_cleaner.rb'
27
+ template 'rspec/configs/factory_girl.rb', 'spec/support/configs/factory_girl.rb'
28
+ template 'rspec/configs/devise.rb', 'spec/support/configs/devise.rb'
29
+ template 'rspec/configs/vcr.rb', 'spec/support/configs/vcr.rb'
30
+
31
+ template 'rspec/shared_examples/sample_shared.rb', 'spec/support/shared_examples/sample_shared.rb'
32
+
33
+ run 'bundle exec spring binstub rspec'
34
+
35
+ end
36
+
37
+ end
38
+ end
@@ -6,7 +6,7 @@ module Initial
6
6
  def add
7
7
  generate 'initial:gemfile'
8
8
  generate 'initial:welcome'
9
- generate 'initial:rspec_base'
9
+ generate 'initial:rspec'
10
10
  generate 'initial:capistrano'
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Teleporter
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.18"
3
3
  end
data/lib/teleporter.rb CHANGED
@@ -5,7 +5,7 @@ require "teleporter/version"
5
5
 
6
6
  require "generators/initial/start"
7
7
  require "generators/initial/gemfile"
8
- require "generators/initial/rspec_base"
8
+ require "generators/initial/rspec"
9
9
  require "generators/initial/welcome"
10
10
  require "generators/initial/capistrano"
11
11
 
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.17
4
+ version: 0.0.18
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-12 00:00:00.000000000 Z
11
+ date: 2014-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -68,7 +68,7 @@ files:
68
68
  - lib/generators/admin/start.rb
69
69
  - lib/generators/initial/capistrano.rb
70
70
  - lib/generators/initial/gemfile.rb
71
- - lib/generators/initial/rspec_base.rb
71
+ - lib/generators/initial/rspec.rb
72
72
  - lib/generators/initial/start.rb
73
73
  - lib/generators/initial/templates/capistrano/deploy/deploy.rb
74
74
  - lib/generators/initial/templates/capistrano/deploy/production.rb
@@ -90,12 +90,12 @@ files:
90
90
  - lib/generators/initial/templates/capistrano/tasks/compile_assets_locally.rake
91
91
  - lib/generators/initial/templates/capistrano/tasks/logs.rake
92
92
  - lib/generators/initial/templates/capistrano/tasks/setup_config.rake
93
- - lib/generators/initial/templates/rspec_base/configs/capybara.rb
94
- - lib/generators/initial/templates/rspec_base/configs/database_cleaner.rb
95
- - lib/generators/initial/templates/rspec_base/configs/devise.rb
96
- - lib/generators/initial/templates/rspec_base/configs/factory_girl.rb
97
- - lib/generators/initial/templates/rspec_base/configs/vcr.rb
98
- - lib/generators/initial/templates/rspec_base/shared_examples/sample_shared.rb
93
+ - lib/generators/initial/templates/rspec/configs/capybara.rb
94
+ - lib/generators/initial/templates/rspec/configs/database_cleaner.rb
95
+ - lib/generators/initial/templates/rspec/configs/devise.rb
96
+ - lib/generators/initial/templates/rspec/configs/factory_girl.rb
97
+ - lib/generators/initial/templates/rspec/configs/vcr.rb
98
+ - lib/generators/initial/templates/rspec/shared_examples/sample_shared.rb
99
99
  - lib/generators/initial/templates/welcome/index.haml
100
100
  - lib/generators/initial/templates/welcome/welcome_controller.rb
101
101
  - lib/generators/initial/welcome.rb
@@ -1,38 +0,0 @@
1
- module Initial
2
- class RspecBaseGenerator < Rails::Generators::Base
3
- source_root File.expand_path("../templates", __FILE__)
4
-
5
- def add
6
- gem_group :development, :test do
7
- gem "rspec-rails"
8
- end
9
-
10
- gem_group :test do
11
- gem 'factory_girl_rails'
12
- gem 'capybara'
13
- gem 'database_cleaner'
14
- gem 'shoulda-matchers'
15
- gem 'poltergeist'
16
- gem 'phantomjs', require: 'phantomjs/poltergeist'
17
- gem 'vcr'
18
- gem 'webmock'
19
- end
20
-
21
- run "bundle install"
22
-
23
- generate 'rspec:install'
24
-
25
- template 'rspec_base/configs/capybara.rb', 'spec/support/configs/capybara.rb'
26
- template 'rspec_base/configs/database_cleaner.rb', 'spec/support/configs/database_cleaner.rb'
27
- template 'rspec_base/configs/factory_girl.rb', 'spec/support/configs/factory_girl.rb'
28
- template 'rspec_base/configs/devise.rb', 'spec/support/configs/devise.rb'
29
- template 'rspec_base/configs/vcr.rb', 'spec/support/configs/vcr.rb'
30
-
31
- template 'rspec_base/shared_examples/sample_shared.rb', 'spec/support/shared_examples/sample_shared.rb'
32
-
33
- run 'bundle exec spring binstub rspec'
34
-
35
- end
36
-
37
- end
38
- end