high_five 0.3.9 → 0.3.10

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: 63aa57b152824a80a083cdc06d0a755d7d52687d
4
- data.tar.gz: 604829b968669639ad5f72573b66264a9b13646b
3
+ metadata.gz: ac25efc89736970d596cb10c3e7811ddc2426012
4
+ data.tar.gz: 7bdff4ed0f1f55933fb7627e7556fbaaa032fd18
5
5
  SHA512:
6
- metadata.gz: 319662d6e39d5b80198056d1a4a8002566f83118a6c9ed6415c0038ea98189428e2ad89c401fe3b6f9b32531760027f00067c3a7923b70a2c750abc96e773894
7
- data.tar.gz: 9818ccafd9333cf3087d0c36f2458d4d0f9f4849de378372395091fbeb1e6a904e8e1ec6c37d17edbee4e69ae4f22fc81206e4f4bd648cebb26c0a52d723d357
6
+ metadata.gz: 0361360589521dcf2d1da0c97d1845672cbabe9455bbcbb924aec2b5244de22e4eb1f5cbf739b0be1675d8987c004e540105a1193f561c7720fdfaedb3d4ee78
7
+ data.tar.gz: 7ca3795e426640c71a9920a087f0018576a355b57f79f4bfddb245d3ea309c701689f6f13a597694e27b6c1ec32072ce283417851433996542ff60a3e89b1ead
@@ -165,7 +165,7 @@ module HighFive
165
165
  # Build index.html
166
166
  say "Generating index.html"
167
167
  template File.join(@config_root, "index.html.erb"), File.join(self.destination_root, "index.html")
168
- if (@environment == 'development' && !@config.dev_index.nil?)
168
+ if (!@config.dev_index.nil?)
169
169
  say "Cloning to #{@config.dev_index}"
170
170
  FileUtils.cp(File.join(self.destination_root, "index.html"), File.join(@config.root, @config.dev_index))
171
171
  end
@@ -1,3 +1,3 @@
1
1
  module HighFive
2
- VERSION = "0.3.9"
2
+ VERSION = "0.3.10"
3
3
  end
@@ -1,14 +1,14 @@
1
1
  HighFive::Config.configure do |config|
2
2
  config.app_name = "ExampleApp"
3
3
  config.app_id = "com.example.app"
4
-
4
+
5
5
  config.root = File.join(File.dirname(__FILE__), '..')
6
6
  config.destination = "www"
7
7
 
8
8
  # Uncomment this if you're on windows and having problems with a strange ExecJS RuntimeError
9
9
  # config.windows!
10
10
 
11
- # This will add the resources folder to all platforms (stylesheets etc.)
11
+ # This will add the resources folder to all platforms (stylesheets etc.)
12
12
  # config.assets "resources"
13
13
 
14
14
  # Include javascript libraries
@@ -18,14 +18,14 @@ HighFive::Config.configure do |config|
18
18
  # config.javascripts "lib/jquery-min.js"
19
19
 
20
20
  # Run `compass compile` in this directory before doing anything
21
- # config.compass "resources/sass"
21
+ # config.compass_dir "resources/sass"
22
22
 
23
23
  # copy and include these stylesheets in the html
24
24
  # config.stylesheets "resources/css/app.css"
25
25
  # config.stylesheets "resources/css/jquery-ui.css"
26
26
 
27
27
  # Basic key/value settings that will be available to your javascript
28
- # config.setting base_url: "http://dev.example.com/api" # HighFive.settings.base_url = "http://dev.example.com/api"
28
+ # config.setting base_url: "http://dev.example.com/api" # HighFive.Settings.base_url = "http://dev.example.com/api"
29
29
 
30
30
  # Configure plaform specific settings like this
31
31
  config.platform :ios do |ios|
@@ -43,8 +43,8 @@ HighFive::Config.configure do |config|
43
43
  web.dev_index = "index-debug.html" #copy generated index.html to index-debug (development env only)
44
44
  end
45
45
 
46
- # if you need platform-specific javascripts,
47
- # simply create app-<platform>.js
46
+ # if you need platform-specific javascripts,
47
+ # simply create app-<platform>.js
48
48
  # these files are managed by sprockets, and are used to determine the javascript include order
49
49
 
50
50
  # Environment support: production/development/etc
@@ -60,4 +60,8 @@ HighFive::Config.configure do |config|
60
60
  # production.minify :uglifier # or :yui
61
61
  end
62
62
 
63
- end
63
+ # config.environment :lan do |lan|
64
+ # ip = Socket.ip_address_list.detect{|intf| intf.ipv4? and !intf.ipv4_loopback? and !intf.ipv4_multicast?}.ip_address
65
+ # lan.setting apiEndpoint: "http://#{ip}:3000"
66
+ # end
67
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: high_five
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-21 00:00:00.000000000 Z
11
+ date: 2015-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json