framework7rails 4.0.0 → 4.0.2

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: e597623f353208d3c1a8f7a089ed8a7c1bfa8e12
4
- data.tar.gz: 8ebaa2240db5a9d501bafd79e3a27fa36cd20b91
3
+ metadata.gz: b9b7a7fd470ab9769641b68c1977f07f703c0484
4
+ data.tar.gz: 66a9615febdd34ef52c7173ea6303338e002eca9
5
5
  SHA512:
6
- metadata.gz: 6c3c230a66fca6fe78b123f8608e54a31d78b772d68417d0b791e08556ef45216da7b2ede86f0d7f3d73cd17246681be6f25f8a0d0a6f6ee5a41549c4e40c60f
7
- data.tar.gz: 7f533dc506372924ea1e5962b23139d99efb9bc14a1df834f717162a05cb11b5786dd4dde13f361122a5de7ce5dfddbddd57dc4fccfd4263327fa65702c50152
6
+ metadata.gz: 4db1887cd6d259e615445af22c04b4f1e85365af7fbc0d10cc68d3bc22509bc0158228b59e886e015b4f5bdb8d07110fe9633c2f7db46f069bd2483d3e3fb09e
7
+ data.tar.gz: c73a2e62823a6eda9f67c9a026590961ad0203db6ab629d6381c1973a392c4c33f12a28b215bff9cc6c1f69d3e5c372c2e196fe63f6b1040e297f8c907fe7492
data/README.md CHANGED
@@ -1,44 +1,51 @@
1
- ## Current Version (1.0.0)
1
+ ### Current Version (1.0.2)
2
2
 
3
- Although there exists a gem for f7 already, but I found it complicated and it was really out of date. I try to keep it updated from https://github.com/nolimits4web/Framework7/releases but you can also do it yourself by running ``./update_from_vendor``
3
+ ### Framework7-rails
4
4
 
5
- # Framework7rails
6
-
7
- Gem for Framework7 which is a Full Featured HTML Framework For Building iOS Apps
8
5
  See http://www.idangero.us/framework7/
9
6
 
10
- ## Installation
7
+ ### Installation
11
8
 
12
9
  $ gem install framework7rails
13
- $ gem install git@github.com:kevincobain2000/framework7rails.git
14
-
15
- ## Integrating framework7rails with rails
10
+ $ gem install git@github.com:kevincobain2000/framework7-rails.git
16
11
 
17
- Demo App running on this gem: http://framework7rails-demo.herokuapp.com/welcome
12
+ ### Integrating framework7rails with rails
18
13
 
19
14
  GemFile
20
15
 
21
16
  ```ruby
22
- gem 'framework7rails', :git => 'https://github.com/kevincobain2000/framework7rails', :branch => 'master' #latest version
17
+ gem 'framework7rails', :git => 'https://github.com/kevincobain2000/framework7-rails', :branch => 'master' #latest version
23
18
  ```
24
19
 
25
20
  And then execute:
26
21
 
27
22
  $ bundle
28
23
 
29
- application.js
24
+ **application.js**
30
25
 
31
26
  ```
32
27
  //= require framework7
33
28
  ```
34
29
 
35
- application.css
30
+ **application.css**
36
31
 
37
32
  ```
38
33
  *= require framework7
39
34
  * require framework7.themes #if you want themes
40
35
  ```
41
36
 
37
+ ## Updating From Vendor
38
+
39
+ ```
40
+ ## https://github.com/nolimits4web/Framework7/releases
41
+ ./update_from_vendor.rb 0.9.X (without the v)
42
+ ./install_local.sh
43
+ ```
44
+
45
+ ----
46
+
47
+ **Following might be outdated**
48
+
42
49
  app/assets/javascripts/myapp.js //or whatever myapp_name.js
43
50
 
44
51
  ```
@@ -97,12 +104,3 @@ def list_suggestion
97
104
  logger.info "Debug #{params.inspect}"
98
105
  end
99
106
  ```
100
-
101
-
102
- ## Updating From Vendor
103
-
104
- ```
105
- ## https://github.com/nolimits4web/Framework7/releases
106
- ./update_from_vendor.rb 0.9.X (without the v)
107
- ./install_local.sh
108
- ```
@@ -1,4 +1,4 @@
1
1
  module Framework7rails
2
- # framework7 version 1.0
3
- VERSION = "4.0.0"
2
+ # framework7 version 1.0.2
3
+ VERSION = "4.0.2"
4
4
  end
@@ -3,7 +3,7 @@
3
3
  if ARGV[0]
4
4
  VERSION_FRAMEWORK7 = ARGV[0]
5
5
  else
6
- VERSION_FRAMEWORK7 = "1.0.0"
6
+ VERSION_FRAMEWORK7 = "1.0.2"
7
7
  end
8
8
 
9
9
  puts "Updating Framework Version #{VERSION_FRAMEWORK7}"
@@ -16,13 +16,13 @@ system("tar -zxf v#{VERSION_FRAMEWORK7}.tar.gz")
16
16
 
17
17
  puts "Copying js files"
18
18
 
19
- system("cp Framework7-#{VERSION_FRAMEWORK7}/dist/js/framework7.js vendor/assets/javascripts/")
20
- system("cp Framework7-#{VERSION_FRAMEWORK7}/dist/js/framework7.js.map vendor/assets/javascripts/")
19
+ system("cp Framework7-#{VERSION_FRAMEWORK7}/dist/js/* vendor/assets/javascripts/")
20
+ system("cp Framework7-#{VERSION_FRAMEWORK7}/dist/js/* vendor/assets/javascripts/")
21
21
 
22
22
 
23
23
  puts "Copying css files"
24
- system("cp Framework7-#{VERSION_FRAMEWORK7}/dist/css/framework7.css vendor/assets/stylesheets/")
25
- system("cp Framework7-#{VERSION_FRAMEWORK7}/dist/css/framework7.themes.css vendor/assets/stylesheets/")
24
+ system("cp Framework7-#{VERSION_FRAMEWORK7}/dist/css/* vendor/assets/stylesheets/")
25
+ system("cp Framework7-#{VERSION_FRAMEWORK7}/dist/css/* vendor/assets/stylesheets/")
26
26
 
27
27
  puts "Copying images"
28
28