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: 717ab9484b932c8a8e7fa6aa05e58ef380f3ddd9468068903ea297b4590397eb
4
- data.tar.gz: badd68f7355ebe589110d770e45117f03784f5d65ef2d678eac615db7ce3586d
3
+ metadata.gz: 1157b175b0ce0c3c72be376383f9da2d522999f69304c093cd3ddbc22eb0d25d
4
+ data.tar.gz: 7673c2ffe8fd7b0134847e1de912dd94aadf900a267c937625e3ace993f106ee
5
5
  SHA512:
6
- metadata.gz: 01266e1500a427aa626d5d3bfc0d9d5ec30d21f0454add4dec24c1a3cc1d0ac660cf7864a20fc91591f795b1b946244689aa757cccde50d49f464dddee14c354
7
- data.tar.gz: 72df68e6b25ad50e25b26679086d5fe0b2802168a167046b2eec92ed99b878e265b09ffb29f0bb5a05eb55fa6298a0d5eed862ab6e7b09f58a9246be77dec550
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
@@ -1,3 +1,3 @@
1
1
  RedisSnippets::Engine.routes.draw do
2
- resource :snippets, controller: 'snippets', only: [:show, :update]
2
+ resource :snippets, controller: 'redis_snippets/snippets', only: [:show, :update]
3
3
  end
@@ -1,7 +1,5 @@
1
1
  module RedisSnippets
2
2
  class Engine < ::Rails::Engine
3
- isolate_namespace RedisSnippets
4
-
5
3
  config.generators do |g|
6
4
  g.test_framework :rspec
7
5
  end
@@ -1,3 +1,3 @@
1
1
  module RedisSnippets
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -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 = ["martin@wulffeld.org"]
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.1
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: 2019-11-30 00:00:00.000000000 Z
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
- - martin@wulffeld.org
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.0.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.