rapp 0.2.4 → 0.3.0

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: 627ad31c629fb215e715cfc99c0344b0223896cc
4
- data.tar.gz: bb9d57eab4d1724cc22410725a26e2db066c805e
3
+ metadata.gz: 8fd3947879f77440583a3a0d23e76de06b64bbf9
4
+ data.tar.gz: 330a5db6d0f773becc01ecfe1b77d328cdd0d57d
5
5
  SHA512:
6
- metadata.gz: 0475d0a3c6b1ecb3fc3d63ad4ff2c340444ed9a8f0c065f398787332a824a1b1eb31240fff4a31d2788f63d06572a06a1abb5ec6a96e01c46724c54767ab38fd
7
- data.tar.gz: 096c03ba4cdd7359e14e3b4ac25a1dae45f1e9ac1542142db00a73edd1d6998058b852a0420c0938938d5797b85ede1453043181149de13a70eb060f334861ca
6
+ metadata.gz: 86b818ae794fd6a43e775ca1c5c38f68006a057f1a90446beadcdf94ae30410f923b27339fbdfcb4619aa59d3933de847f27ac3db2e7264232860af59c83d5e0
7
+ data.tar.gz: cc35c292cc0ebc54a18d5bdfaa6cac8c306bb21d8270d4853211f26708c8023e3bd9394dbf761bffe9a562faebc0065e514d3a7f406cb64b7254eaab4cef634d
@@ -1,4 +1,6 @@
1
- $:.unshift File.dirname("./")
1
+ $:.unshift File.expand_path(".")
2
+ $:.unshift File.expand_path("./lib")
3
+
2
4
  require '<%= app_name %>_base'
3
5
  class <%= class_name %>
4
6
  include <%=class_name%>Base
@@ -32,10 +32,9 @@ module <%= class_name %>Base
32
32
 
33
33
  # Set up additional load paths
34
34
 
35
- $:.unshift File.dirname("./")
36
- $:.unshift File.dirname("./lib")
37
- $:.unshift File.dirname("./config")
38
- $:.unshift File.dirname("./app")
35
+ # I'm not sure if we need "app" in the load path
36
+ # Everything there should be auto-loaded, but you never know...
37
+ $:.unshift File.expand_path("./app")
39
38
 
40
39
  # Load the right environment initializer
41
40
 
File without changes
data/lib/rapp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rapp
2
- VERSION = "0.2.4"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - StabbyCutyou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-22 00:00:00.000000000 Z
11
+ date: 2015-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -73,11 +73,11 @@ files:
73
73
  - lib/rapp/templates/Gemfile.erb
74
74
  - lib/rapp/templates/Rakefile.erb
75
75
  - lib/rapp/templates/app_name.rb.erb
76
- - lib/rapp/templates/app_name_base.rb.erb
77
76
  - lib/rapp/templates/config/environments/development.rb.erb
78
77
  - lib/rapp/templates/config/environments/production.rb.erb
79
78
  - lib/rapp/templates/config/environments/test.rb.erb
80
- - lib/rapp/templates/env.rb.erb
79
+ - lib/rapp/templates/lib/app_name_base.rb.erb
80
+ - lib/rapp/templates/lib/env.rb.erb
81
81
  - lib/rapp/templates/lib/tasks/console.rake.erb
82
82
  - lib/rapp/templates/lib/tasks/environment.rake.erb
83
83
  - lib/rapp/templates/spec/app_name_base/env_spec.rb.erb
@@ -110,3 +110,4 @@ signing_key:
110
110
  specification_version: 4
111
111
  summary: rapp - A gem for building Ruby Apps
112
112
  test_files: []
113
+ has_rdoc: