under_construction 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: 11e951832262bbdfd9899a4e53f2a0811e289b1a
4
- data.tar.gz: cf17fed86738401d902b11ad835007ef8421838d
3
+ metadata.gz: c9901d847869545b2879c2fb42bf4d24b57cd4f2
4
+ data.tar.gz: 9a1127ad00b62987b051714a62afa10585492750
5
5
  SHA512:
6
- metadata.gz: 974ddb735750bba88b4e109c8d5b93aa920e558d864fd64cd5c3a7846d4cbd89727bd24acd1d37d2d38ec39347177befa9abc4b4841084872d8e9f3a51764a6c
7
- data.tar.gz: e8e4b8e82707320af59f38d828d237aebcc0a1cac000cacd3baba6b55ee5f9f8057e120b37369ee2e8404cb8f0f281097cbb27492b1939e1f34f79b558fe7c57
6
+ metadata.gz: cd9bd4c4f9d4df7a64cbe079a0498cfa313e78665a3e6032140695d0dffc0cba3c665d2f71a4a683bafef89d8bd3eb030be052bc81ae633a37a8c2f89f642cc1
7
+ data.tar.gz: fd4379840e9584a74943b4a8714caecfca2cc3991614865e64823c6a72d4d63d4832b2277a95cab6d54e9910b2fe9b6643a7c2378ad047632be99c3e61e053f1
data/README.md CHANGED
@@ -112,7 +112,7 @@ In javascript, you have to include under_construction/*theme* like below:
112
112
  //= require under_construction/site-under-construction
113
113
  //= require jquery_ujs
114
114
 
115
- Make a file in `config/initializers` named `assets.rb` and put follwing code inside it or Rails 4 may:
115
+ Make a file in `config/initializers` named `assets.rb` and put following code inside it or Rails 4 may:
116
116
 
117
117
  Rails.application.config.assets.precompile += %w( under_construction.js under_construction.css )
118
118
 
@@ -8,7 +8,7 @@ module UnderConstruction
8
8
  desc 'Configs application controller'
9
9
  def edit_application_Controller
10
10
  if File.exist?(Rails.root + "app/controllers/application_controller.rb")
11
- insert_into_file "app/controllers/application_controller.rb", APPLICATION_CONFIG_TXT, :after => "protect_from_forgery"
11
+ insert_into_file "app/controllers/application_controller.rb", APPLICATION_CONFIG_TXT, :after => /protect_from_forgery.*/
12
12
  else
13
13
  raise 'Couldn\'t find application_controller file'
14
14
  end
@@ -1,3 +1,3 @@
1
1
  module UnderConstruction
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: under_construction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arash Mousavi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-11 00:00:00.000000000 Z
12
+ date: 2014-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails