openstudio-aws 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/Rakefile +6 -0
- data/lib/openstudio/aws/version.rb +1 -1
- data/lib/openstudio-aws.rb +11 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4c759c2c748eb2f907a53b3f87390246b188a9e
|
4
|
+
data.tar.gz: 614223c0a1d4195d0abfd0cfeb9c0e9e879640c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f41d38ccbb517dbcf10f189dfcc01dd85f2dac7a4bcc5900d89e278834990041538d00247f6bd4a907b91f0af9dfefeb1d6498fe5b204ee822fecea22eecdaf
|
7
|
+
data.tar.gz: 3703c7acb4ded02951821d9dca099dc0616c6475d42a050dc45a52a211cbd5f6790bd696c1a8d9493026a58334ae66bb650fc40a1fdf620221ed254ba5a6f1ff
|
data/README.md
CHANGED
@@ -16,3 +16,5 @@ Development Notes
|
|
16
16
|
|
17
17
|
There is an underlying attempt to merge several OpenStudio based gems into one and have a general
|
18
18
|
OpenStudio namespace for ruby classes.
|
19
|
+
|
20
|
+
The AWS SDK gem is custom built and distributed with this gem in order to remove the JSON dependency. If you are running ruby 1.9 or greater, then JSON is installed in teh std lib and should be called out in the gemspec.
|
data/Rakefile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require "bundler"
|
2
2
|
Bundler.setup
|
3
|
+
#Bundler.require
|
3
4
|
|
4
5
|
require "rake"
|
5
6
|
require "rspec/core/rake_task"
|
@@ -29,6 +30,11 @@ RSpec::Core::RakeTask.new("spec") do |spec|
|
|
29
30
|
spec.pattern = "spec/**/config_spec.rb"
|
30
31
|
end
|
31
32
|
|
33
|
+
RSpec::Core::RakeTask.new("spec:all") do |spec|
|
34
|
+
spec.rspec_opts = %w(--format progress)
|
35
|
+
spec.pattern = "spec/**/*_spec.rb"
|
36
|
+
end
|
37
|
+
|
32
38
|
task :default => :spec
|
33
39
|
|
34
40
|
desc "import files from other repos"
|
data/lib/openstudio-aws.rb
CHANGED
@@ -2,6 +2,17 @@ require 'json'
|
|
2
2
|
require 'net/scp'
|
3
3
|
require 'yaml'
|
4
4
|
|
5
|
+
# AWS SDK
|
6
|
+
begin
|
7
|
+
puts `gem list`
|
8
|
+
gem "aws-sdk", ">= 1.30.1"
|
9
|
+
require 'aws-sdk'
|
10
|
+
rescue LoadError
|
11
|
+
puts "Failed to AWS-SDK gem"
|
12
|
+
puts " gem install aws-sdk"
|
13
|
+
exit
|
14
|
+
end
|
15
|
+
|
5
16
|
require 'openstudio/aws/version'
|
6
17
|
require 'openstudio/aws/aws'
|
7
18
|
require 'openstudio/aws/config'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Long
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.31.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.31.3
|
41
41
|
description: Custom classes for configuring clusters for OpenStudio & EnergyPlus analyses
|
42
42
|
email:
|
43
43
|
- Nicholas.Long@nrel.gov
|