rack-dev-mark 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTYyMjgwZWFiMDM4ZmJlMmU3YWQ5OTI1YjNlMjYyZDhmMGQ0MzM1MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDE0OGY4NTA5YjkxNDMxOGE1M2M1NjIwMDk1ZGY4M2JiYjQ2YmI1Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjcyMDJkMDQ0YzU0NTIwNThlYTdiM2VhYmMwYTkxZTk1ZTVkMjUxYmNkNzMw
|
10
|
+
OWRkYzNmNjUwOGFkNTAyOWQ0MmY3OGE0MzZkNGMyMmRlYjhjOTU0ZDNmMWJi
|
11
|
+
NTIwMjdmZWIwYzhiNjcwOGU1NDU5OTc1NjE4YjJkNWVhMGRiZjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzA3ZjdmMzBlMDE3MDA1Njc0ODliNzI0MmMxNDFhZGI5MDZmMGMwMzU1MjUz
|
14
|
+
NTFiNjQxODhlNTNlZDVhYjQ3OGY4YzM0ZmRhN2FlZWJiNTgwZDE5ZDdlZTVj
|
15
|
+
Nzk4NzFjNGEzMWJiMWVhZWI5YTU0ZTZmY2Q2YjdkNTYxY2E1ZGQ=
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'rails/generators/base'
|
2
|
+
|
3
|
+
module Rack
|
4
|
+
module DevMark
|
5
|
+
class InstallGenerator < ::Rails::Generators::Base
|
6
|
+
namespace 'rack:dev-mark:install'
|
7
|
+
|
8
|
+
desc "Install rack-dev-mark."
|
9
|
+
def insert_enable
|
10
|
+
insert_into_file 'config/application.rb', after: "< Rails::Application\n" do <<-EOS
|
11
|
+
config.rack_dev_mark.enable = !Rails.env.production?
|
12
|
+
|
13
|
+
EOS
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-dev-mark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daisuke Taniwaki
|
@@ -84,7 +84,7 @@ files:
|
|
84
84
|
- gemfiles/rack.1.2.x.gemfile
|
85
85
|
- gemfiles/rack.1.3.x.gemfile
|
86
86
|
- gemfiles/rack.1.4.x.gemfile
|
87
|
-
- lib/generators/rack
|
87
|
+
- lib/generators/rack/dev-mark/install_generator.rb
|
88
88
|
- lib/rack-dev-mark.rb
|
89
89
|
- lib/rack/dev-mark.rb
|
90
90
|
- lib/rack/dev-mark/error.rb
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'rails/generators/base'
|
2
|
-
|
3
|
-
module RackDevMark
|
4
|
-
class InstallGenerator < ::Rails::Generators::Base
|
5
|
-
namespace 'rack-dev-mark:install'
|
6
|
-
|
7
|
-
desc "Install rack-dev-mark."
|
8
|
-
def insert_enable
|
9
|
-
insert_into_file 'config/application.rb', after: "< Rails::Application\n" do <<-EOS
|
10
|
-
config.rack_dev_mark.enable = !Rails.env.production?
|
11
|
-
|
12
|
-
EOS
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|