rails_client_checker 0.0.1 → 0.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 +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +7 -4
- data/README.md +1 -1
- data/app/helpers/rails_client_checker/checker_helper.rb +3 -2
- data/lib/rails_client_checker/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66f666b2cf0b97ef2897d795b4ed72b773d46346
|
|
4
|
+
data.tar.gz: 7305dd4cc54556871654f8162124388c7975a098
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 016db8ef17778aad5d2f55a0b60c05d1416245c2644864ec14fd376822374b5ccde494ad71594e3f00985f2f7c05e13e75794e1064dcf0eb04f10f21fd816b36
|
|
7
|
+
data.tar.gz: 450d015402e43d28faf41137cd33e5946a96d3c4cb9b77e7fc23d88ce022a03e522c31f8bb19e6574f2aaca2502fb51ba47869cb890da1710c3fe292159a40c2
|
data/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*.gem
|
data/Gemfile.lock
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
|
|
4
|
+
rails_client_checker (0.0.1)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
rake (
|
|
9
|
+
rake (0.9.6)
|
|
10
10
|
|
|
11
11
|
PLATFORMS
|
|
12
12
|
ruby
|
|
13
13
|
|
|
14
14
|
DEPENDENCIES
|
|
15
15
|
bundler (~> 1.3)
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
rails_client_checker!
|
|
17
|
+
rake (~> 0)
|
|
18
|
+
|
|
19
|
+
BUNDLED WITH
|
|
20
|
+
1.12.5
|
data/README.md
CHANGED
|
@@ -26,7 +26,7 @@ This gem was extracted from [Rayyan](http://rayyan.qcri.org/) web application an
|
|
|
26
26
|
|
|
27
27
|
## Installation
|
|
28
28
|
|
|
29
|
-
The gem was tested on Rails 4.1 and 3.2. If you have a different version and it does not work for you, please create a github issue.
|
|
29
|
+
The gem was tested on Rails 5.0, 4.1 and 3.2. If you have a different version and it does not work for you, please create a github issue.
|
|
30
30
|
|
|
31
31
|
Add this line to your application's Gemfile:
|
|
32
32
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
module RailsClientChecker
|
|
2
2
|
module CheckerHelper
|
|
3
|
+
# http://stackoverflow.com/questions/35251759/undefined-method-find-asset-for-nilnilclass/37820647#37820647
|
|
3
4
|
def inline_asset(name)
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
assets = Rails.application.assets || ::Sprockets::Railtie.build_environment(Rails.application)
|
|
6
|
+
assets.find_asset(name).to_s
|
|
6
7
|
end
|
|
7
8
|
|
|
8
9
|
def inline_javascript_tag(name)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_client_checker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hossam Hammady
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -49,6 +49,7 @@ executables: []
|
|
|
49
49
|
extensions: []
|
|
50
50
|
extra_rdoc_files: []
|
|
51
51
|
files:
|
|
52
|
+
- ".gitignore"
|
|
52
53
|
- Gemfile
|
|
53
54
|
- Gemfile.lock
|
|
54
55
|
- LICENSE
|
|
@@ -95,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
95
96
|
version: '0'
|
|
96
97
|
requirements: []
|
|
97
98
|
rubyforge_project:
|
|
98
|
-
rubygems_version: 2.4.
|
|
99
|
+
rubygems_version: 2.4.8
|
|
99
100
|
signing_key:
|
|
100
101
|
specification_version: 4
|
|
101
102
|
summary: Offer end-users of Rails applications a configurable /check route to check
|