webs 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/helper/params.rb +1 -1
- data/lib/webs.rb +1 -1
- data/webs.gemspec +1 -1
- metadata +76 -73
- checksums.yaml +0 -7
data/Rakefile
CHANGED
data/lib/helper/params.rb
CHANGED
@@ -2,7 +2,7 @@ module Webs
|
|
2
2
|
module Helper
|
3
3
|
module Params
|
4
4
|
FW_PARAMS = [:fw_sig, :fw_sig_site, :fw_sig_is_admin, :fw_sig_permission_level, :fw_sig_session_key, :fw_sig_tier, :fw_sig_permissions, :fw_sig_time, :fw_sig_api_key,
|
5
|
-
:fw_sig_url, :fw_sig_user, :fw_sig_width, :fw_sig_social, :fw_sig_premium, :fb_sig_network, :fw_sig_captcha_valid]
|
5
|
+
:fw_sig_url, :fw_sig_user, :fw_sig_width, :fw_sig_social, :fw_sig_premium, :fb_sig_network, :fw_sig_captcha_valid, :fw_sig_locale]
|
6
6
|
|
7
7
|
FW_PARAMS.each do |fw_param|
|
8
8
|
module_eval( "def #{fw_param.to_s}() params[:#{fw_param.to_s}] || request.headers['#{fw_param.to_s}'] end" )
|
data/lib/webs.rb
CHANGED
data/webs.gemspec
CHANGED
metadata
CHANGED
@@ -1,15 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 0.3.1
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
|
-
- Chuck Olczak
|
8
|
+
- Chuck Olczak
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
12
|
|
12
|
-
date: 2014-09-22 00:00:00
|
13
|
+
date: 2014-09-22 00:00:00 -04:00
|
14
|
+
default_executable:
|
13
15
|
dependencies: []
|
14
16
|
|
15
17
|
description: Reusable webs stuff.
|
@@ -19,90 +21,91 @@ executables: []
|
|
19
21
|
extensions: []
|
20
22
|
|
21
23
|
extra_rdoc_files:
|
22
|
-
- lib/views/layouts/webs_page.html.erb
|
23
|
-
- lib/views/layouts/webs_utility.html.erb
|
24
|
-
- lib/views/shared/_error_msgs.html.erb
|
25
|
-
- lib/views/shared/_flash_msg.html.erb
|
26
|
-
- lib/views/shared/_jquery_noconflict.html.erb
|
27
|
-
- lib/views/shared/_webs_info.html.erb
|
28
|
-
- lib/
|
29
|
-
- lib/
|
30
|
-
- lib/config/
|
31
|
-
- lib/config/
|
32
|
-
- lib/config/
|
33
|
-
- lib/config/
|
34
|
-
- lib/
|
35
|
-
- lib/controller/
|
36
|
-
- lib/controller/
|
37
|
-
- lib/controller/
|
38
|
-
- lib/controller/
|
39
|
-
- lib/controller/
|
40
|
-
- lib/
|
41
|
-
- lib/helper/
|
42
|
-
- lib/helper/
|
43
|
-
- lib/helper/
|
44
|
-
- lib/
|
45
|
-
- lib/
|
46
|
-
- lib/
|
47
|
-
- README.rdoc
|
24
|
+
- lib/views/layouts/webs_page.html.erb
|
25
|
+
- lib/views/layouts/webs_utility.html.erb
|
26
|
+
- lib/views/shared/_error_msgs.html.erb
|
27
|
+
- lib/views/shared/_flash_msg.html.erb
|
28
|
+
- lib/views/shared/_jquery_noconflict.html.erb
|
29
|
+
- lib/views/shared/_webs_info.html.erb
|
30
|
+
- lib/webs.rb
|
31
|
+
- lib/cache/cache.rb
|
32
|
+
- lib/config/webs_constants.rb
|
33
|
+
- lib/config/webs_initializer.rb
|
34
|
+
- lib/config/initializers/http_accept_patch.rb
|
35
|
+
- lib/config/initializers/intl_select.rb
|
36
|
+
- lib/config/initializers/webs_view_path.rb
|
37
|
+
- lib/controller/abuse_governor.rb
|
38
|
+
- lib/controller/alive_controller.rb
|
39
|
+
- lib/controller/info_controller.rb
|
40
|
+
- lib/controller/permission_converter.rb
|
41
|
+
- lib/controller/url_for_context_path.rb
|
42
|
+
- lib/controller/webs_controller.rb
|
43
|
+
- lib/helper/application.rb
|
44
|
+
- lib/helper/encoding.rb
|
45
|
+
- lib/helper/params.rb
|
46
|
+
- lib/helper/tags.rb
|
47
|
+
- lib/middleware/parameter_fixer.rb
|
48
|
+
- lib/test/webs_test_helper.rb
|
49
|
+
- README.rdoc
|
48
50
|
files:
|
49
|
-
-
|
50
|
-
-
|
51
|
-
- lib/
|
52
|
-
- lib/
|
53
|
-
- lib/
|
54
|
-
- lib/
|
55
|
-
- lib/
|
56
|
-
- lib/
|
57
|
-
- lib/
|
58
|
-
- lib/
|
59
|
-
- lib/
|
60
|
-
- lib/
|
61
|
-
- lib/
|
62
|
-
- lib/controller/
|
63
|
-
- lib/
|
64
|
-
- lib/
|
65
|
-
- lib/
|
66
|
-
- lib/
|
67
|
-
- lib/
|
68
|
-
- lib/
|
69
|
-
- lib/
|
70
|
-
- lib/
|
71
|
-
- lib/
|
72
|
-
- lib/
|
73
|
-
- lib/
|
74
|
-
-
|
75
|
-
-
|
76
|
-
- webs.gemspec
|
51
|
+
- lib/views/layouts/webs_page.html.erb
|
52
|
+
- lib/views/layouts/webs_utility.html.erb
|
53
|
+
- lib/views/shared/_error_msgs.html.erb
|
54
|
+
- lib/views/shared/_flash_msg.html.erb
|
55
|
+
- lib/views/shared/_jquery_noconflict.html.erb
|
56
|
+
- lib/views/shared/_webs_info.html.erb
|
57
|
+
- lib/webs.rb
|
58
|
+
- lib/cache/cache.rb
|
59
|
+
- lib/config/webs_constants.rb
|
60
|
+
- lib/config/webs_initializer.rb
|
61
|
+
- lib/config/initializers/http_accept_patch.rb
|
62
|
+
- lib/config/initializers/intl_select.rb
|
63
|
+
- lib/config/initializers/webs_view_path.rb
|
64
|
+
- lib/controller/abuse_governor.rb
|
65
|
+
- lib/controller/alive_controller.rb
|
66
|
+
- lib/controller/info_controller.rb
|
67
|
+
- lib/controller/permission_converter.rb
|
68
|
+
- lib/controller/url_for_context_path.rb
|
69
|
+
- lib/controller/webs_controller.rb
|
70
|
+
- lib/helper/application.rb
|
71
|
+
- lib/helper/encoding.rb
|
72
|
+
- lib/helper/params.rb
|
73
|
+
- lib/helper/tags.rb
|
74
|
+
- lib/middleware/parameter_fixer.rb
|
75
|
+
- lib/test/webs_test_helper.rb
|
76
|
+
- README.rdoc
|
77
|
+
- Rakefile
|
78
|
+
- webs.gemspec
|
79
|
+
has_rdoc: true
|
77
80
|
homepage: http://github.com/websdotcom/websgem
|
78
81
|
licenses: []
|
79
82
|
|
80
|
-
metadata: {}
|
81
|
-
|
82
83
|
post_install_message:
|
83
84
|
rdoc_options:
|
84
|
-
- --line-numbers
|
85
|
-
- --inline-source
|
86
|
-
- --title
|
87
|
-
- Webs
|
88
|
-
- --main
|
89
|
-
- README.rdoc
|
85
|
+
- --line-numbers
|
86
|
+
- --inline-source
|
87
|
+
- --title
|
88
|
+
- Webs
|
89
|
+
- --main
|
90
|
+
- README.rdoc
|
90
91
|
require_paths:
|
91
|
-
- lib
|
92
|
+
- lib
|
92
93
|
required_ruby_version: !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
93
95
|
requirements:
|
94
|
-
|
95
|
-
|
96
|
-
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: "0"
|
97
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
98
101
|
requirements:
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: "1.2"
|
102
105
|
requirements: []
|
103
106
|
|
104
107
|
rubyforge_project: webs
|
105
|
-
rubygems_version:
|
108
|
+
rubygems_version: 1.5.1
|
106
109
|
signing_key:
|
107
110
|
specification_version: 3
|
108
111
|
summary: Reusable webs stuff.
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA512:
|
3
|
-
metadata.gz: 729473cb868f9cf3926569ad05ccfea65bfdb4cd4bd4c45bc990bb7bba20cd570e65338a151790fe075c6382838842b12f6ea8f671a147211272e5eda236b3bb
|
4
|
-
data.tar.gz: cce219c985d45bfa89bbb921e83442421a6fbe8aa627c550a46afb09825aad2a843466d4ffad9ca88a4e99325628115297a828744a6f5ec3b20b0f3a7cd23011
|
5
|
-
SHA1:
|
6
|
-
metadata.gz: 409b50f57e01dbb6104542542f47f5ba8cc02754
|
7
|
-
data.tar.gz: 95400cf31c0e8154b24a10957e829086c812021f
|