locales_admin 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e4e168c477d0b4ba1f11a28f82037a6134cf541
|
4
|
+
data.tar.gz: 08c770f8c3a97368c94ec26d82886275bccb5da3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4c477ab558749dbc40c512565f6a49229e786ad83b241fb879ffc47b187bd5ddf38cca509c7c9db95ec2f8edc6fcd8fe0ec30f9f54c670a7749a3de1e329ec9
|
7
|
+
data.tar.gz: e49b3f4442ded77fa00893d6e93d11cd5939ee60b4c681ee7986503a44a1a454545d98fd312c7916c139b279f5eefbfd9d4afd3ce87e5be2d6e5b24e37db99db
|
@@ -3,6 +3,7 @@ module LocalesAdmin
|
|
3
3
|
before_action :authentication_check
|
4
4
|
|
5
5
|
def index
|
6
|
+
|
6
7
|
@files = Dir.glob Rails.root.join("config", "locales", "**", "*.yml")
|
7
8
|
end
|
8
9
|
|
@@ -16,6 +17,10 @@ module LocalesAdmin
|
|
16
17
|
@file.read
|
17
18
|
end
|
18
19
|
|
20
|
+
def logout
|
21
|
+
redirect_to "/", status: 401
|
22
|
+
end
|
23
|
+
|
19
24
|
private
|
20
25
|
def authentication_check
|
21
26
|
authenticate_or_request_with_http_basic do |username, password|
|
data/config/routes.rb
CHANGED
@@ -1935,3 +1935,157 @@ Started GET "/assets/jquery_ujs.self-8e98a7a072a6cee1372d19fff9ff3e6aa1e39a37d89
|
|
1935
1935
|
|
1936
1936
|
|
1937
1937
|
Started GET "/assets/locales_admin/application.self-377610cd7c1509e934744c810e3b4cf672dfbcacac3274e7d039827e2ae0fcc7.js?body=1" for 127.0.0.1 at 2015-06-16 13:48:48 +0700
|
1938
|
+
|
1939
|
+
|
1940
|
+
Started GET "/locales_admin" for 127.0.0.1 at 2015-06-16 14:55:19 +0700
|
1941
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
1942
|
+
Filter chain halted as :authentication_check rendered or redirected
|
1943
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
1944
|
+
|
1945
|
+
|
1946
|
+
Started GET "/locales_admin" for 127.0.0.1 at 2015-06-16 14:55:32 +0700
|
1947
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
1948
|
+
Rendered /home/cybergarage/workspaces/locales_admin/app/views/locales_admin/main/index.html.erb within layouts/locales_admin/application (2.1ms)
|
1949
|
+
Completed 200 OK in 208ms (Views: 207.3ms | ActiveRecord: 0.0ms)
|
1950
|
+
|
1951
|
+
|
1952
|
+
Started GET "/assets/locales_admin/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-06-16 14:55:33 +0700
|
1953
|
+
|
1954
|
+
|
1955
|
+
Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-06-16 14:55:33 +0700
|
1956
|
+
|
1957
|
+
|
1958
|
+
Started GET "/assets/locales_admin/application.self-377610cd7c1509e934744c810e3b4cf672dfbcacac3274e7d039827e2ae0fcc7.js?body=1" for 127.0.0.1 at 2015-06-16 14:55:33 +0700
|
1959
|
+
|
1960
|
+
|
1961
|
+
Started GET "/assets/jquery_ujs.self-8e98a7a072a6cee1372d19fff9ff3e6aa1e39a37d89d6f06861637d061113ee7.js?body=1" for 127.0.0.1 at 2015-06-16 14:55:33 +0700
|
1962
|
+
|
1963
|
+
|
1964
|
+
Started POST "/locales_admin/locales_admin?file=%2Fhome%2Fcybergarage%2Fworkspaces%2Flocales_admin%2Ftest%2Fdummy%2Fconfig%2Flocales%2Fen.yml" for 127.0.0.1 at 2015-06-16 14:55:35 +0700
|
1965
|
+
Processing by LocalesAdmin::MainController#show as JS
|
1966
|
+
Parameters: {"file"=>"/home/cybergarage/workspaces/locales_admin/test/dummy/config/locales/en.yml"}
|
1967
|
+
Rendered /home/cybergarage/workspaces/locales_admin/app/views/locales_admin/main/show.js.erb (0.5ms)
|
1968
|
+
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
1969
|
+
|
1970
|
+
|
1971
|
+
Started GET "/locales_admin" for 127.0.0.1 at 2015-06-16 14:55:36 +0700
|
1972
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
1973
|
+
Rendered /home/cybergarage/workspaces/locales_admin/app/views/locales_admin/main/index.html.erb within layouts/locales_admin/application (0.6ms)
|
1974
|
+
Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms)
|
1975
|
+
|
1976
|
+
|
1977
|
+
Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-06-16 14:55:36 +0700
|
1978
|
+
|
1979
|
+
|
1980
|
+
Started GET "/assets/locales_admin/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-06-16 14:55:36 +0700
|
1981
|
+
|
1982
|
+
|
1983
|
+
Started GET "/assets/locales_admin/application.self-377610cd7c1509e934744c810e3b4cf672dfbcacac3274e7d039827e2ae0fcc7.js?body=1" for 127.0.0.1 at 2015-06-16 14:55:36 +0700
|
1984
|
+
|
1985
|
+
|
1986
|
+
Started GET "/assets/jquery_ujs.self-8e98a7a072a6cee1372d19fff9ff3e6aa1e39a37d89d6f06861637d061113ee7.js?body=1" for 127.0.0.1 at 2015-06-16 14:55:36 +0700
|
1987
|
+
|
1988
|
+
|
1989
|
+
Started GET "/locales_admin" for 127.0.0.1 at 2015-06-16 15:04:13 +0700
|
1990
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
1991
|
+
Rendered /home/cybergarage/workspaces/locales_admin/app/views/locales_admin/main/index.html.erb within layouts/locales_admin/application (2.1ms)
|
1992
|
+
Completed 200 OK in 205ms (Views: 204.3ms | ActiveRecord: 0.0ms)
|
1993
|
+
|
1994
|
+
|
1995
|
+
Started GET "/assets/locales_admin/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-06-16 15:04:14 +0700
|
1996
|
+
|
1997
|
+
|
1998
|
+
Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-06-16 15:04:14 +0700
|
1999
|
+
|
2000
|
+
|
2001
|
+
Started GET "/assets/jquery_ujs.self-8e98a7a072a6cee1372d19fff9ff3e6aa1e39a37d89d6f06861637d061113ee7.js?body=1" for 127.0.0.1 at 2015-06-16 15:04:14 +0700
|
2002
|
+
|
2003
|
+
|
2004
|
+
Started GET "/assets/locales_admin/application.self-377610cd7c1509e934744c810e3b4cf672dfbcacac3274e7d039827e2ae0fcc7.js?body=1" for 127.0.0.1 at 2015-06-16 15:04:14 +0700
|
2005
|
+
|
2006
|
+
|
2007
|
+
Started DELETE "/locales_admin/locales_admin" for 127.0.0.1 at 2015-06-16 15:04:17 +0700
|
2008
|
+
Processing by LocalesAdmin::MainController#logout as HTML
|
2009
|
+
Parameters: {"authenticity_token"=>"sYqFV2UT6B2gGu2EKQ7R8757mDotItu9VXNpaLOUhXE6q9+q/I72PBju2fkTreo1USzmgaPnzLYOf4IVkEOPFA=="}
|
2010
|
+
Redirected to http://localhost:3000/locales_admin/
|
2011
|
+
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
2012
|
+
|
2013
|
+
|
2014
|
+
Started GET "/locales_admin/" for 127.0.0.1 at 2015-06-16 15:04:22 +0700
|
2015
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
2016
|
+
Filter chain halted as :authentication_check rendered or redirected
|
2017
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
2018
|
+
|
2019
|
+
|
2020
|
+
Started GET "/locales_admin/" for 127.0.0.1 at 2015-06-16 15:04:27 +0700
|
2021
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
2022
|
+
Filter chain halted as :authentication_check rendered or redirected
|
2023
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
2024
|
+
|
2025
|
+
|
2026
|
+
Started GET "/locales_admin/" for 127.0.0.1 at 2015-06-16 15:04:36 +0700
|
2027
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
2028
|
+
Filter chain halted as :authentication_check rendered or redirected
|
2029
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
2030
|
+
|
2031
|
+
|
2032
|
+
Started GET "/locales_admin/" for 127.0.0.1 at 2015-06-16 15:04:37 +0700
|
2033
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
2034
|
+
Rendered /home/cybergarage/workspaces/locales_admin/app/views/locales_admin/main/index.html.erb within layouts/locales_admin/application (0.8ms)
|
2035
|
+
Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms)
|
2036
|
+
|
2037
|
+
|
2038
|
+
Started GET "/assets/locales_admin/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for 127.0.0.1 at 2015-06-16 15:04:37 +0700
|
2039
|
+
|
2040
|
+
|
2041
|
+
Started GET "/assets/jquery.self-d03a5518f45df77341bdbe6201ba3bfa547ebba8ed64f0ea56bfa5f96ea7c074.js?body=1" for 127.0.0.1 at 2015-06-16 15:04:37 +0700
|
2042
|
+
|
2043
|
+
|
2044
|
+
Started GET "/assets/locales_admin/application.self-377610cd7c1509e934744c810e3b4cf672dfbcacac3274e7d039827e2ae0fcc7.js?body=1" for 127.0.0.1 at 2015-06-16 15:04:37 +0700
|
2045
|
+
|
2046
|
+
|
2047
|
+
Started GET "/assets/jquery_ujs.self-8e98a7a072a6cee1372d19fff9ff3e6aa1e39a37d89d6f06861637d061113ee7.js?body=1" for 127.0.0.1 at 2015-06-16 15:04:37 +0700
|
2048
|
+
|
2049
|
+
|
2050
|
+
Started DELETE "/locales_admin/locales_admin" for 127.0.0.1 at 2015-06-16 15:04:39 +0700
|
2051
|
+
Processing by LocalesAdmin::MainController#logout as HTML
|
2052
|
+
Parameters: {"authenticity_token"=>"FVuSHm0rnWrWDR1Aep5EP492suZPli/ZCHZJfm7Yj7Ceesjj9LaDS275KT1APX/5YCHMXcFTONJTeqIDTQ+F1Q=="}
|
2053
|
+
Redirected to http://localhost:3000/
|
2054
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
2055
|
+
|
2056
|
+
|
2057
|
+
Started GET "/" for 127.0.0.1 at 2015-06-16 15:04:41 +0700
|
2058
|
+
Processing by Rails::WelcomeController#index as HTML
|
2059
|
+
Rendered /home/cybergarage/.rvm/gems/ruby-2.1.5/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (0.6ms)
|
2060
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
2061
|
+
|
2062
|
+
|
2063
|
+
Started GET "/locales_admin" for 127.0.0.1 at 2015-06-16 15:05:19 +0700
|
2064
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
2065
|
+
Filter chain halted as :authentication_check rendered or redirected
|
2066
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
2067
|
+
|
2068
|
+
|
2069
|
+
Started GET "/locales_admin" for 127.0.0.1 at 2015-06-16 15:05:20 +0700
|
2070
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
2071
|
+
Filter chain halted as :authentication_check rendered or redirected
|
2072
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
2073
|
+
|
2074
|
+
|
2075
|
+
Started GET "/locales_admin" for 127.0.0.1 at 2015-06-16 15:05:22 +0700
|
2076
|
+
Processing by LocalesAdmin::MainController#index as HTML
|
2077
|
+
Rendered /home/cybergarage/workspaces/locales_admin/app/views/locales_admin/main/index.html.erb within layouts/locales_admin/application (0.7ms)
|
2078
|
+
Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms)
|
2079
|
+
|
2080
|
+
|
2081
|
+
Started DELETE "/locales_admin/locales_admin" for 127.0.0.1 at 2015-06-16 15:05:25 +0700
|
2082
|
+
Processing by LocalesAdmin::MainController#logout as HTML
|
2083
|
+
Parameters: {"authenticity_token"=>"8FWIxmmDXsWoB6eV1+pyLgFr6otw8HIYyuvW2fG3kfB7dNI78B5A5BDzk+jtSUno7jyUMP41ZROR5z2k0mCblQ=="}
|
2084
|
+
Redirected to http://localhost:3000/
|
2085
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
2086
|
+
|
2087
|
+
|
2088
|
+
Started GET "/" for 127.0.0.1 at 2015-06-16 15:05:27 +0700
|
2089
|
+
Processing by Rails::WelcomeController#index as HTML
|
2090
|
+
Rendered /home/cybergarage/.rvm/gems/ruby-2.1.5/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
2091
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|