redis_snippets 1.0.1 → 1.0.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1157b175b0ce0c3c72be376383f9da2d522999f69304c093cd3ddbc22eb0d25d
|
4
|
+
data.tar.gz: 7673c2ffe8fd7b0134847e1de912dd94aadf900a267c937625e3ace993f106ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc847d478f9c40aef9fe2ecb067eee24c700d23b1053bcb09280db46c5025b09a94e6363ecdb2f0d70e567a606b75cb53d0771e16844b3a934b6eb815c4bb44f
|
7
|
+
data.tar.gz: fbfc1e84fc0c9794221880574abde61e7d3e2c11720c0c92062be5592c0f15d599f428b556abe777156fc2662790b4386c60cd553720d9567a3664337761602d
|
@@ -1,10 +1,6 @@
|
|
1
1
|
class RedisSnippets::SnippetsController < ApplicationController
|
2
2
|
include RedisSnippets::Util
|
3
3
|
|
4
|
-
# Temporary fix for Rails 6.0 support. Rendering views doesn't have access
|
5
|
-
# to the apps routes unless we include them.
|
6
|
-
include Rails.application.routes.url_helpers
|
7
|
-
|
8
4
|
before_action :redis_snippets_authenticate_admin_user!
|
9
5
|
|
10
6
|
layout 'admin'
|
data/config/routes.rb
CHANGED
data/redis_snippets.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "redis_snippets"
|
7
7
|
spec.version = RedisSnippets::VERSION
|
8
8
|
spec.authors = ["Martin Moen Wulffeld"]
|
9
|
-
spec.email = ["
|
9
|
+
spec.email = ["wulffeld@gmail.com"]
|
10
10
|
spec.summary = %q{Storing snippets of HTML, text, etc. in Redis for use in views.}
|
11
11
|
spec.description = %q{A Ruby on Rails gem that facilitates fast retrieval of snippets of code or information for views.}
|
12
12
|
spec.homepage = "https://github.com/wulffeld/redis_snippets"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis_snippets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Moen Wulffeld
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -83,7 +83,7 @@ dependencies:
|
|
83
83
|
description: A Ruby on Rails gem that facilitates fast retrieval of snippets of code
|
84
84
|
or information for views.
|
85
85
|
email:
|
86
|
-
-
|
86
|
+
- wulffeld@gmail.com
|
87
87
|
executables: []
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
|
-
rubygems_version: 3.
|
166
|
+
rubygems_version: 3.1.2
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: Storing snippets of HTML, text, etc. in Redis for use in views.
|