jt-partial 0.0.7 → 1.0.1

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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODA4ZTAwMDZlYmI0OTJkYjE3ZTI5MDI4NjRlY2I4Mzg5YThhZTcxMw==
5
+ data.tar.gz: !binary |-
6
+ MzE3OWY4ZGVhMjM2YjRmNTU0ZDQ0ZmNmNjFhYzM5ZmRjYzA1OGU3Nw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YWZjNGUxOWM4OTQ3NmY1NTExZmRkZDgzN2Y1YzgxNGY0YjQ5OGI2OTVkZDQz
10
+ Y2Q0Y2VhMGYxNWZhOTgzNWZmZWJhYjgwZTEwMjY4MWYwZTE4Yzg3Mzc3MjA2
11
+ MGU1NmRmY2UyOTA3NjJkNGUyZjJhZDVlZWNjZGQ3NGVkMmY4YWU=
12
+ data.tar.gz: !binary |-
13
+ N2ExZjI4NmM2MTUwYjY1ZGI1YzRkYTc0MTBiNDVlOTE2NTVmMjk5YTk1MjAx
14
+ MmMxYmIyZWUzY2FiZmE0NTMxYzk5YzNlMTZmMThhNzQ1MGJjNDNjYzc3MTRk
15
+ MTUzYTU4MjVjMmEwNWExM2IzNmIyYTY2Y2RmZjNjNWE0MjQwMDg=
data/lib/jt-partial/js.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #js
2
2
  def base_js(file)
3
- is_base_file = file.include?( "application.js" ) || file.include?("pages.js")
3
+ is_base_file = file.include?( "application.js" ) || file.include?("routes.js")
4
4
  is_base_file
5
5
  end
6
6
 
@@ -13,6 +13,7 @@ def include_js
13
13
  template += haml_render "#{template_path}/_js_script_tag.haml", {:js_file_path => file}
14
14
  end
15
15
  end
16
- template += haml_render "#{template_path}/_js_script_tag.haml", {:js_file_path => "js/pages.js"}
16
+ template += haml_render "#{template_path}/_js_script_tag.haml", {:js_file_path => "js/application.js"}
17
+ template += haml_render "#{template_path}/_js_script_tag.haml", {:js_file_path => "js/routes.js"}
17
18
  template
18
19
  end
@@ -1,5 +1,5 @@
1
1
  module Jt
2
2
  module Partial
3
- VERSION = "0.0.7"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jt-partial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - jtong
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-21 00:00:00.000000000 Z
11
+ date: 2013-04-25 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: generate one page application html
15
14
  email:
@@ -33,26 +32,25 @@ files:
33
32
  - lib/jt-partial/version.rb
34
33
  homepage: ''
35
34
  licenses: []
35
+ metadata: {}
36
36
  post_install_message:
37
37
  rdoc_options: []
38
38
  require_paths:
39
39
  - lib
40
40
  required_ruby_version: !ruby/object:Gem::Requirement
41
- none: false
42
41
  requirements:
43
42
  - - ! '>='
44
43
  - !ruby/object:Gem::Version
45
44
  version: '0'
46
45
  required_rubygems_version: !ruby/object:Gem::Requirement
47
- none: false
48
46
  requirements:
49
47
  - - ! '>='
50
48
  - !ruby/object:Gem::Version
51
49
  version: '0'
52
50
  requirements: []
53
51
  rubyforge_project:
54
- rubygems_version: 1.8.24
52
+ rubygems_version: 2.0.3
55
53
  signing_key:
56
- specification_version: 3
54
+ specification_version: 4
57
55
  summary: partial for haml
58
56
  test_files: []