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
- YTgyMjdmNTllZmZkNTZjMDU4YmM1ZjdkODMwNmI5NDhjNDIzMjQ1OA==
4
+ ZTYyMjgwZWFiMDM4ZmJlMmU3YWQ5OTI1YjNlMjYyZDhmMGQ0MzM1MA==
5
5
  data.tar.gz: !binary |-
6
- N2RjMjU2ZjZkYTE5YmYwMWJhYWM0NTZmNDA4ODc4NDg2MjZkYzY2Nw==
6
+ NDE0OGY4NTA5YjkxNDMxOGE1M2M1NjIwMDk1ZGY4M2JiYjQ2YmI1Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmNjZDhhYTY3ZGY5ZTM3OTFkYTU2NTliZGVmMDBmZjI1NDllZWJmNDRlZGMz
10
- OTdiNDEyNGU1OGNhZmI0NjFmMWIzOWM0MGY1MGUxY2ZiZmRlZTMxOWFlMzRj
11
- NmM0ODk4NDgxNWVlNmIwNDFkYzFjNDk2MjRjNzQxNDUzYTY3NjY=
9
+ YjcyMDJkMDQ0YzU0NTIwNThlYTdiM2VhYmMwYTkxZTk1ZTVkMjUxYmNkNzMw
10
+ OWRkYzNmNjUwOGFkNTAyOWQ0MmY3OGE0MzZkNGMyMmRlYjhjOTU0ZDNmMWJi
11
+ NTIwMjdmZWIwYzhiNjcwOGU1NDU5OTc1NjE4YjJkNWVhMGRiZjI=
12
12
  data.tar.gz: !binary |-
13
- ZmRiNWJkNTIxMWZjNDQwNjNiM2ExNTZjNjhkZDBlMTFjZTM5MDllNzYwNWEw
14
- MTIzZWU2Njg4OGNjMTkxYjM5MWRlZDNjMTQ2YjRlZmZiYTNiYzQxN2I4YTIw
15
- OTJiMjBiOGUwMTJjMGQ0NTMzYWNmNjJhOGVmYmYwYmMwNzJmNDI=
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
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module DevMark
3
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
4
4
  end
5
5
  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.1
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-dev-mark/install_generator.rb
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