cul_hydra_models 0.1.1 → 0.1.2

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: 572252de6bc635f3ee42e3bf6984cb03b31fca8c
4
- data.tar.gz: 37e796f0288e6d74bc5b277bbe0fbd15c4c6b211
3
+ metadata.gz: 7eb145dbc19156b81e92a6b0489c8379e6ebe5df
4
+ data.tar.gz: b723f982ba7e772e9783dd59192e2e2e84515112
5
5
  SHA512:
6
- metadata.gz: bb25208b04d0a6f0c651d933ecfdbde052103832d51e3ab4fb5f65a6b724738f1df1e91685b5a5470f30652b83c05b82e8bd4c371db182f18b54229e2685969f
7
- data.tar.gz: 9008924b9e5be9a6045ce1ee1bf6406f8f0b8c5a78b0bc6549458605ae699279a43d422681f097b140b3e9bc3a71f23a1d43b2a5b63032b55ce159e7fd88fbb7
6
+ metadata.gz: fb7c5a010d14f45ba4889d064f459bb15046933a2c5d50dbf92f37ff82e3364b0fcfe8802b6290e7902f3849f903dc3aba62e1c74c9805f36d997bafea6b56c6
7
+ data.tar.gz: e77365f1d97baa3d16e7f0ad16aeaef456a66fe23c6bc8982a7868ba1484b954d6ab37e4871e157ae407fdc23730530796aa2d7011192cfa5310932f0cabc212
@@ -1,3 +1,3 @@
1
1
  module CulHydraModels
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module CulHydraModels
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/lib/tasks/ci.rake CHANGED
@@ -1,3 +1,7 @@
1
+ require 'jettywrapper'
2
+ Jettywrapper.url = "https://github.com/projecthydra/hydra-jetty/archive/7.x-stable.zip"
3
+ Jettywrapper.jetty_dir = File.join(Rails.root, 'jetty') # This places the jetty directory inside of the dummy app
4
+
1
5
  namespace :cul_hydra_models do
2
6
 
3
7
  begin
@@ -33,24 +37,24 @@ namespace :cul_hydra_models do
33
37
 
34
38
  desc "CI build without rubocop"
35
39
  task :ci_nocop do
36
- exec({ 'RAILS_ENV' => 'test' }, 'bundle', 'exec', 'rake', 'cul_hydra_models:ci_task')
40
+ ENV['RAILS_ENV'] = 'test'
41
+ Rails.env = ENV['RAILS_ENV']
42
+ Rake::Task["cul_hydra_models:ci_task"].invoke
37
43
  end
38
44
 
39
45
  desc "CI build with Rubocop validation"
40
46
  task ci: ['cul_hydra_models:rubocop'] do
41
- exec({ 'RAILS_ENV' => 'test' }, 'bundle', 'exec', 'rake', 'cul_hydra_models:ci_task')
47
+ ENV['RAILS_ENV'] = 'test'
48
+ Rails.env = ENV['RAILS_ENV']
49
+ Rake::Task["cul_hydra_models:ci_task"].invoke
42
50
  end
43
51
 
44
52
  desc "CI build"
45
53
  task :ci_task do
46
- require 'jettywrapper'
47
- Jettywrapper.url = "https://github.com/projecthydra/hydra-jetty/archive/7.x-stable.zip"
48
- Jettywrapper.jetty_dir = File.join(Rails.root, 'tmp', 'jetty-test')
49
-
50
54
  unless File.exists?(Jettywrapper.jetty_dir)
51
55
  puts "\nNo test jetty found. Will download / unzip a copy now.\n"
52
56
  end
53
- Rake::Task["jetty:clean"].invoke
57
+ Rake::Task["app:jetty:clean"].invoke
54
58
 
55
59
  jetty_params = Jettywrapper.load_config.merge(jetty_home: Jettywrapper.jetty_dir)
56
60
  puts "Starting Fedora 3 (jettywrapper)...\n"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cul_hydra_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric O'Hanlon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails