urbanopt-cli 0.1.0 → 0.2.0.pre1

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: 934fbb0b9143d20253d46905afb758ecce76605d
4
- data.tar.gz: 557e2cd9d0e4a4a201937c9c3b39fa237bb2cae0
3
+ metadata.gz: 88a9dd62f885c84b04844e60699f381066864569
4
+ data.tar.gz: b5c6b738b7c1c4e4434fb96cdaaeeb6baf89f0fa
5
5
  SHA512:
6
- metadata.gz: 528712d6caa6aae327c8e652db5df702a071f8184eecd40b4275e6534087d15559f3d951ecad0a5b7dcdf6e764c58bb301b8e06bcb1883a7896d82d3636f99e6
7
- data.tar.gz: 5c5a9014e32e0ccc93e3c315c36832d1cb6b0fb1785c2cafd4f60ff1ac2f967f837af565888310bd280606d74cfeee2dc64b3d2d2f97df148e7a02b28c6e6e6e
6
+ metadata.gz: 7289fadd0b9669818d8a313ab7326914d21f374235211bc07af4d6c47bddb8c1c781cab3b2a3c3c49ecb4ad1ab53221b5ecf45f0670ec7d2ea2dd305c23e0fa2
7
+ data.tar.gz: ea34a0ceb6fa0cfa4b19ebecf1904718b021772f2b9f5ae5050af72ba282e64528f857ef4f0b8daba94b862c55325e2369d673c62be8da63ae3f7ec519425e61
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: bug
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ### Expected behavior
11
+
12
+ _A clear and concise description of what you expected to happen._
13
+
14
+ ### Actual behavior
15
+
16
+ _A clear and concise description of what actually happens._
17
+
18
+ ### To Reproduce
19
+
20
+ Steps to reproduce the behavior:
21
+
22
+ 1. Go to '...'
23
+ 1. Enter '...'
24
+ 1. Enter '...'
25
+
26
+ ### Additional context
27
+
28
+ _E.g.: Windows, Mac, Linux? Are you behind a firewall? Do you have additional security constraints?_
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: enhancement
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,13 @@
1
+ ### Addresses #[issue number here]
2
+
3
+ ### Pull Request Description
4
+
5
+ [description here]
6
+
7
+ ### Checklist (Delete lines that don't apply)
8
+
9
+ - [ ] Unit tests have been added or updated
10
+ - [ ] Documentation has been modified appropriately
11
+ - [ ] All ci tests pass (green)
12
+ - [ ] An [ISSUE](https://github.com/urbanopt/urbanopt-cli/issues) has been created that this is addressing. Issues will get added to the Change Log when the change_log.rb script is run
13
+ - [ ] This branch is up-to-date with develop
data/.gitignore CHANGED
@@ -7,6 +7,9 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
 
10
+ # rbenv virtualenv management file
11
+ .ruby-version
12
+
10
13
  # rspec failure tracking
11
14
  .rspec_status
12
15
 
data/Gemfile CHANGED
@@ -2,3 +2,57 @@ source "http://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in uo_cli.gemspec
4
4
  gemspec
5
+
6
+ # simplecov has a dependency on native json gem, use fork that does not require this
7
+ gem 'simplecov', github: 'NREL/simplecov'
8
+
9
+ # Local gems are useful when developing and integrating the various dependencies.
10
+ # To favor the use of local gems, set the following environment variable:
11
+ # Mac: export FAVOR_LOCAL_GEMS=1
12
+ # Windows: set FAVOR_LOCAL_GEMS=1
13
+ # Note that if allow_local is true, but the gem is not found locally, then it will
14
+ # checkout the latest version (develop) from github.
15
+ allow_local = ENV['FAVOR_LOCAL_GEMS']
16
+
17
+ # Uncomment (and modify path/branch) if you need to test local development versions. Otherwise
18
+ # these are included in the gemspec file
19
+ #
20
+ # if allow_local && File.exist?('../OpenStudio-extension-gem')
21
+ # gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
22
+ # elsif allow_local
23
+ # gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
24
+ # end
25
+ #
26
+
27
+ # if allow_local && File.exist?('../openstudio-common-measures-gem')
28
+ # gem 'openstudio-common-measures', path: '../openstudio-common-measures-gem'
29
+ # elsif allow_local
30
+ # gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'develop'
31
+ # end
32
+
33
+ # if allow_local && File.exist?('../openstudio-model-articulation-gem')
34
+ # gem 'openstudio-model-articulation', path: '../openstudio-model-articulation-gem'
35
+ # elsif allow_local
36
+ # gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'develop'
37
+ # end
38
+
39
+ if allow_local && File.exist?('../urbanopt-scenario-gem')
40
+ gem 'urbanopt-scenario', path: '../urbanopt-scenario-gem'
41
+ elsif allow_local
42
+ gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop'
43
+ else
44
+ gem 'urbanopt-scenario', '0.2.0.pre1'
45
+ # temporary
46
+ # gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop'
47
+ end
48
+
49
+ if allow_local && File.exists?('../urbanopt-geojson-gem')
50
+ # gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
51
+ gem 'urbanopt-geojson', path: '../urbanopt-geojson-gem'
52
+ elsif allow_local
53
+ gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
54
+ else
55
+ gem 'urbanopt-geojson', '0.2.0.pre1'
56
+ # temporary
57
+ # gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop'
58
+ end
data/README.md CHANGED
@@ -7,7 +7,7 @@ This is the command line interface (CLI) for URBANopt.
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'uo_cli'
10
+ gem 'urbanopt-cli'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -19,7 +19,7 @@ bundle
19
19
  Or install it yourself with:
20
20
 
21
21
  ```terminal
22
- gem install uo_cli
22
+ gem install urbanopt-cli
23
23
  ```
24
24
 
25
25
  ## Usage
@@ -1,5 +1,7 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
+ ruby '2.2.4'
4
+
3
5
  # Local gems are useful when developing and integrating the various dependencies.
4
6
  # To favor the use of local gems, set the following environment variable:
5
7
  # Mac: export FAVOR_LOCAL_GEMS=1
@@ -29,6 +31,13 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
29
31
  # gem 'urbanopt-core', github: 'URBANopt/urbanopt-core-gem', branch: 'develop'
30
32
  # end
31
33
  #
34
+
35
+ # if allow_local && File.exist?('../openstudio-common-measures-gem')
36
+ # gem 'openstudio-common-measures', path: '../openstudio-common-measures-gem'
37
+ # elsif allow_local
38
+ # gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'develop'
39
+ # end
40
+
32
41
  # if allow_local && File.exist?('../openstudio-model-articulation-gem')
33
42
  # # gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'develop'
34
43
  # gem 'openstudio-model-articulation', path: '../openstudio-model-articulation-gem'
@@ -38,12 +47,14 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
38
47
  # gem 'openstudio-model-articulation', '0.1.0'
39
48
  # end
40
49
 
50
+
41
51
  if allow_local && File.exist?('../urbanopt-scenario-gem')
42
52
  gem 'urbanopt-scenario', path: '../urbanopt-scenario-gem'
43
53
  elsif allow_local
44
- gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'post_process'
54
+ gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop'
45
55
  else
46
- gem 'urbanopt-scenario', '0.1.1'
56
+ gem 'urbanopt-scenario', '0.2.0.pre1'
57
+ # gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop'
47
58
  end
48
59
 
49
60
  if allow_local && File.exists?('../urbanopt-geojson-gem')
@@ -52,8 +63,12 @@ if allow_local && File.exists?('../urbanopt-geojson-gem')
52
63
  elsif allow_local
53
64
  gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
54
65
  else
55
- gem 'urbanopt-geojson', '0.1.0'
66
+ gem 'urbanopt-geojson', '0.2.0.pre1'
67
+ # gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
56
68
  end
57
69
 
58
- gem 'openstudio-standards', '0.2.10'
70
+ # simplecov has an unneccesary dependency on native json gem, use fork that does not require this
59
71
  gem 'simplecov', github: 'NREL/simplecov'
72
+
73
+ # Fix rack version temporarily to work with Ruby 2.2.4
74
+ gem 'rack', '2.1.2'