social_snippet-registry_views 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTg1ZGI2NDYwYWIwYTI1YTRjZTFmMTI2ZDEwYmRlNjM5MDE5ZTViOA==
4
+ NDIzNzM4MGFkY2NkMTk1ZjhlZWZkMjkxN2Q5N2EwODUxMmE1MjI3NA==
5
5
  data.tar.gz: !binary |-
6
- MDdkYjJiNmZjZGUzOWNkYTc0MzRiZWVkYmU4ZTZlZjQzZDYxOTg5Yw==
6
+ MzhlZjQ0MzI3MWIyMzc3NjUwODZmYjQ4NWRhNjhhMzE4NzA1NTE1MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDA5NjI3OWM3MDU4MWUzN2U5NGFhMGMyNzkxOWQ2NTUzMjQzZjExNjA4OGEw
10
- ZDllYmJkOWU4NTQwZjgxY2E5MDE1ZDBiMTQzMjZjN2NkNzNkMWYyODI1N2Ex
11
- OTZjMmJmMmNmYzYzOGM3Y2I0M2RhOTA5ZjJhMzRjYTBhNzA1MWU=
9
+ NzkzNzVmMmVkMWVmZWZhNjMyOWRlMmY1MjgwMzYwOTYwY2U3NzhmYjQ4M2Yw
10
+ Mzc1NDg3ODU4N2Y4MDU4NmNlNjhlMzI3NDM2MzJlNjY0MDU2NmQ5NWU4OGU1
11
+ OWRiZjYxNzM3ZmViMGZjZmI3NzhhNmYyMTgwNTBjOGUzYWNhNjA=
12
12
  data.tar.gz: !binary |-
13
- MDE4ZDlmODM4Y2M4NDFiOWI3YWFkMTE3N2Y1MTExYTc2OWI0ZWU0MjgwMWI4
14
- MWE1MDk2Yjk1NjFmYTg2OTBjZWYwM2YwNDM0ODI5M2FlZWJkZjEwNTRlNDIw
15
- YzgzMDg1Njg0YjA4ZjUxNzViMjE3OWI0MWE0MTRmNjZhMDE5OTg=
13
+ ZmZjOGUwODRiNDg1YzQ0OTQ1YWYwODQ4Mjg1MDgxNGJiZmMxZDQwNWE0Mjdh
14
+ MTM0ZDVhMjA4MDUzNjg2MGVlNjlmOTcxYjQzMjM4Yjg5ZjA2ZjQ4NGJiNTg1
15
+ NmQ3MDE0OTFkZTljYzc5MDM1Y2VhMzY3YWYwZDgzNWRiZTUwOGM=
@@ -1 +1,6 @@
1
1
  class SocialSnippet::RegistryViews::CommonViews < Padrino::Application; end
2
+
3
+ require "slim/include"
4
+ Slim::Engine.set_options :include_dirs => [
5
+ SocialSnippet::RegistryViews::CommonViews.view_path("templates"),
6
+ ]
@@ -1,5 +1,5 @@
1
1
  module SocialSnippet
2
2
  module RegistryViews
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
@@ -1,3 +1,3 @@
1
- == ::Slim::Template.new(File.expand_path "../templates/common.slim", __FILE__).render(self)
2
- == ::Slim::Template.new(File.expand_path "../templates/contents.slim", __FILE__).render(self)
3
- == ::Slim::Template.new(File.expand_path "../templates/components.slim", __FILE__).render(self)
1
+ include common_template
2
+ include contents_template
3
+ include components_template
@@ -18,9 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "padrino", "~> 0.12.0"
21
+ spec.add_runtime_dependency "padrino"
22
+ spec.add_runtime_dependency "slim"
22
23
 
23
- spec.add_development_dependency "bundler", "~> 1.7.0"
24
- spec.add_development_dependency "rake", "~> 10.4.0"
25
- spec.add_development_dependency "rspec", "~> 3.1.0"
24
+ spec.add_development_dependency "bundler"
25
+ spec.add_development_dependency "rake"
26
+ spec.add_development_dependency "rspec"
26
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_snippet-registry_views
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroyuki Sano
@@ -14,58 +14,72 @@ dependencies:
14
14
  name: padrino
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.12.0
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: slim
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ~>
45
+ - - ! '>='
32
46
  - !ruby/object:Gem::Version
33
- version: 1.7.0
47
+ version: '0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - ~>
52
+ - - ! '>='
39
53
  - !ruby/object:Gem::Version
40
- version: 1.7.0
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - ~>
59
+ - - ! '>='
46
60
  - !ruby/object:Gem::Version
47
- version: 10.4.0
61
+ version: '0'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ~>
66
+ - - ! '>='
53
67
  - !ruby/object:Gem::Version
54
- version: 10.4.0
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rspec
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ~>
73
+ - - ! '>='
60
74
  - !ruby/object:Gem::Version
61
- version: 3.1.0
75
+ version: '0'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ~>
80
+ - - ! '>='
67
81
  - !ruby/object:Gem::Version
68
- version: 3.1.0
82
+ version: '0'
69
83
  description: ''
70
84
  email:
71
85
  - sh19910711@gmail.com
@@ -86,9 +100,9 @@ files:
86
100
  - lib/social_snippet/registry_views/views/all_view.slim
87
101
  - lib/social_snippet/registry_views/views/empty_view.slim
88
102
  - lib/social_snippet/registry_views/views/layouts/application_view.slim
89
- - lib/social_snippet/registry_views/views/templates/common.slim
90
- - lib/social_snippet/registry_views/views/templates/components.slim
91
- - lib/social_snippet/registry_views/views/templates/contents.slim
103
+ - lib/social_snippet/registry_views/views/templates/common_template.slim
104
+ - lib/social_snippet/registry_views/views/templates/components_template.slim
105
+ - lib/social_snippet/registry_views/views/templates/contents_template.slim
92
106
  - social_snippet-registry_views.gemspec
93
107
  homepage: ''
94
108
  licenses: