lopata 0.0.4 → 0.0.5
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: 370a12b687f515d5d78b16a0e84e9fd285b8c872
|
4
|
+
data.tar.gz: 2ff110d2f967be06d0befd0dcf9f7435d07b786d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eeeaf75bb966c6314d03bba5d4d59d1ab4e1beb084e6993aa4d362829d1686f1f76cbeade4db0bb8bf4ef99978a5c231ab8a9ae4dfb61ff0c6ca55ce6a279f5
|
7
|
+
data.tar.gz: cfc09fead12a3c9b9c91154ec565799cee480732759d819182feaa9a494734020107ff775289f1067f540c9224359e8fceebd3b2694e3238433f694c7985809a
|
@@ -25,6 +25,18 @@ module Lopata
|
|
25
25
|
empty_directory "#{name}/#{dir}"
|
26
26
|
end
|
27
27
|
end
|
28
|
+
|
29
|
+
def bundle
|
30
|
+
Dir.chdir name do
|
31
|
+
_bundle_command = Gem.bin_path('bundler', 'bundle')
|
32
|
+
|
33
|
+
require 'bundler'
|
34
|
+
Bundler.with_clean_env do
|
35
|
+
output = `"#{Gem.ruby}" "#{_bundle_command}"`
|
36
|
+
print output # unless options[:quiet]
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
28
40
|
end
|
29
41
|
end
|
30
42
|
end
|
@@ -4,8 +4,6 @@ gem 'rspec', :require => 'spec'
|
|
4
4
|
gem 'rake'
|
5
5
|
gem 'activerecord', '~> 4.2.0'
|
6
6
|
gem 'capybara', '~> 2.2.1' # fix capybara version to avoid capybara-angular deprication varnings.
|
7
|
-
# gem 'capybara-angular'
|
8
7
|
gem 'thor'
|
9
|
-
|
10
|
-
|
11
|
-
# gem 'lopata', path: 'vendor/lopata'
|
8
|
+
<% require "lopata/rspec/version" %>
|
9
|
+
gem 'lopata', '<%= Lopata::RSpec::Version::STRING %>'
|
@@ -6,12 +6,10 @@ require 'rubygems'
|
|
6
6
|
require 'bundler/setup'
|
7
7
|
require 'active_support/all'
|
8
8
|
require 'capybara'
|
9
|
-
require 'capybara/angular'
|
10
9
|
require 'selenium/webdriver'
|
11
10
|
require 'fileutils'
|
12
11
|
require 'active_support'
|
13
12
|
require 'active_record'
|
14
|
-
require 'factory_girl'
|
15
13
|
require 'lopata'
|
16
14
|
|
17
15
|
relative_load_paths = %w[app/pages app/services app/models]
|
data/lib/lopata/rspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lopata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Volochnev
|
@@ -85,5 +85,5 @@ rubyforge_project:
|
|
85
85
|
rubygems_version: 2.2.5
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
|
-
summary: lopata-0.0.
|
88
|
+
summary: lopata-0.0.5
|
89
89
|
test_files: []
|