phonegap-rails 0.0.8 → 0.0.10
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 +8 -8
- data/lib/phonegap/rails/tasks/rails.rake +4 -2
- data/lib/phonegap/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MWE2MDQ2YjQ5YjRmMTljNWIxOTZjZGViMDAxM2VjN2M3NzU1MTE1NQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MWUyNWVjN2UxNzFlYWMwOTkwNGQ3NGQxZjA5OGVjOTc4OTI4YmQxYg==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OTUxMGIyMTFlZjYyNmE1N2Y0Njk1OTIxNGM1YWU2OWNmODc2ZGZhZjJjNTY1
|
|
10
|
+
OTgxZWJlOWMxMzM4NGFkNDg0Y2QxMzY4ZTNiNDZjZTRkMmFiMTU5NGI5NWEy
|
|
11
|
+
MDViNDgyYWYxN2UxYmU3NTQ3M2YyMWNkNWY3MzI5NDhlYTY5MmI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NDNjMWZhZDQwNDExMThiZTE1YmZlNWZmNWY5MmQwZDZjNmMzM2Y3ZDE2YzAw
|
|
14
|
+
NGExOGIxY2E4Yzg3MWE2N2FjNmJkN2JhNDczYTBhNWY5ODEwZGRiMTEwNmZi
|
|
15
|
+
ZWVmMjdmMTgxOTQ1NmFhZGVlMWRkMTc1MzI5ZjE4OTgxOGVhZDk=
|
|
@@ -4,7 +4,7 @@ namespace :phonegap do
|
|
|
4
4
|
if File.exist?(config_path)
|
|
5
5
|
config_file = File.read(config_path)
|
|
6
6
|
config = YAML.load(config_file)
|
|
7
|
-
unless config.nil?
|
|
7
|
+
unless config.nil? or config === false
|
|
8
8
|
unless config['phonegap_path'].nil?
|
|
9
9
|
phonegap_path = config['phonegap_path']
|
|
10
10
|
scripts_path = phonegap_path + '/lib/android/bin'
|
|
@@ -60,7 +60,9 @@ namespace :phonegap do
|
|
|
60
60
|
end
|
|
61
61
|
## Export public folder
|
|
62
62
|
puts '* public folder'
|
|
63
|
-
|
|
63
|
+
Dir.glob("public/**/*.*").each do |file|
|
|
64
|
+
FileUtils.cp file, "#{project_path}/assets/www/" unless file =~ /public\/assets\//
|
|
65
|
+
end
|
|
64
66
|
puts '* index.html'
|
|
65
67
|
@app_title = main_activity
|
|
66
68
|
public_source = File.expand_path('../../../../public', __FILE__)
|