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: e26df680a41e14c87ded9047e26c6c938c145217
4
- data.tar.gz: df8407c48848524675f24e2bea098e50feb5794c
3
+ metadata.gz: 370a12b687f515d5d78b16a0e84e9fd285b8c872
4
+ data.tar.gz: 2ff110d2f967be06d0befd0dcf9f7435d07b786d
5
5
  SHA512:
6
- metadata.gz: 891bc34971a2fe31c6e34539f5cf59f573b6c80280ce02c6fac4fd3552448f1f504f3747414369678396fffe550f3e47284df496a8503c3a995ace5759d6b472
7
- data.tar.gz: 3df4ad38a579aa16eaaf2d5ccc5737388e74489d97ac928a07f862a4c9c826beefb930413025e0c805aac919850184b0039710ec2db77d7b38da0666bd1910e1
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
- # gem 'pg'
10
- # gem 'factory_girl'
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]
@@ -1,7 +1,7 @@
1
1
  module Lopata
2
2
  module RSpec
3
3
  module Version
4
- STRING = '0.0.4'
4
+ STRING = '0.0.5'
5
5
  end
6
6
  end
7
7
  end
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
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.4
88
+ summary: lopata-0.0.5
89
89
  test_files: []