tawork 0.0.26 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGQwNjc5ZDgxZjdhNGRiMjJkNjljMzdiYmZhMTMyMzFkNjk2NmZkMQ==
4
+ MjVlMjAxYTU3YmZkNGI2NmI1YzBmNDMyMzFhYjM1MTFiYTg5N2ZkNw==
5
5
  data.tar.gz: !binary |-
6
- NjMwN2NiNzNkNzA5ZmU4NjIxOTI4NGJiMmVmOGYyNzhmYzUzMjdjOQ==
6
+ ZDJlMTc1MDUyOGMyMjExNzVhYTRjYWFjNzA4YmE0NjhkYmMyMTk1ZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWU4Njc5YWZjYjAxYTVjNzU4YmQ5OWYxN2NiOTI0OTFjNDdiOWIzYzNmZGM1
10
- Zjc0OGE1YTc1YzYyNDU3MTRlMWQxODMwZDU4ZGEwN2YzYTAxYjkzODU4ZjM2
11
- N2NhM2FjYjk1NzFmZDJhOTFjMjA4MDk0ZjUzYjgzZjcxMGEzNjY=
9
+ ODljMDdlMTA2ZWEwM2MxZWE1OTE0Y2IxMDE5OTJiZjhmYzFlYzFlNDUxN2Fl
10
+ MWM1MTU0ZmYyYmJiYzE1NWM5YWNjZTVmMTYxYWZkM2I4YzMwY2YwMmEwYjc0
11
+ ZGI5M2I1YmUzOTJhMWJiOWI2M2ZjN2Q2YzM4Y2Q0YTEyYjBlZWY=
12
12
  data.tar.gz: !binary |-
13
- ZDNjNjZjMzliNGE0MTk2ZTA2ODY4OTI3MzdmMDNmN2E4YTUxYThjMWYwZDFm
14
- MTE3NjExMzZmOTYwZjdjNzAzYmQ5ZmY3ZDdiYmYzY2E0NWRjODA5Y2YzOGIx
15
- MWUyNzEwOGE5ZTczODJjYmJiMGQxMDk5ZWYyNmNhY2Q4OTlkNWM=
13
+ ODk3NjIwZTVkOWI2MDk5MDkxNzllYTk3Y2VlOGIxNjJmM2RkOWZkNzEzYTc0
14
+ OWFkMjc0YWExZTQ1ZmM0MGE2OWQ0YWE1ODMyMDU2MGI3MTkzZjAyOTQxZWYy
15
+ NWZkMDMwNWM2NTA3NDI5NGY0MjczNGZmM2EzZjAyYWYxZTRmNWE=
data/Gemfile CHANGED
@@ -74,6 +74,8 @@ group :doc do
74
74
  gem 'sdoc', require: false
75
75
  end
76
76
 
77
+ gem 'pry-rails'
78
+
77
79
  group :development do
78
80
  gem "better_errors"
79
81
  gem "binding_of_caller"
@@ -84,6 +86,7 @@ group :development do
84
86
  end
85
87
 
86
88
 
89
+
87
90
  # Use ActiveModel has_secure_password
88
91
  # gem 'bcrypt-ruby', '~> 3.1.2'
89
92
 
data/Gemfile.lock CHANGED
@@ -356,6 +356,7 @@ DEPENDENCIES
356
356
  mysql2
357
357
  omniauth-openid
358
358
  plupload-rails
359
+ pry-rails
359
360
  public_activity
360
361
  rails (= 4.1.0.rc1)
361
362
  rails-assets-backbone
@@ -5,6 +5,8 @@ class ApplicationController < ActionController::Base
5
5
 
6
6
  before_filter :profiler_check
7
7
 
8
+ helper :all
9
+
8
10
  protected
9
11
 
10
12
  def profiler_check
@@ -0,0 +1,11 @@
1
+ # config/initializers/pry.rb
2
+
3
+ # Show red environment name in pry prompt for non development environments
4
+ unless Rails.env.development?
5
+ old_prompt = Pry.config.prompt
6
+ env = Pry::Helpers::Text.red(Rails.env.upcase)
7
+ Pry.config.prompt = [
8
+ proc {|*a| "#{env} #{old_prompt.first.call(*a)}"},
9
+ proc {|*a| "#{env} #{old_prompt.second.call(*a)}"},
10
+ ]
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Tawork
2
- VERSION = '0.0.26'
2
+ VERSION = '0.0.27'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tawork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adnan Ali
@@ -198,6 +198,7 @@ files:
198
198
  - config/initializers/haml_gfm.rb
199
199
  - config/initializers/inflections.rb
200
200
  - config/initializers/mime_types.rb
201
+ - config/initializers/pry.rb
201
202
  - config/initializers/secret_token.rb
202
203
  - config/initializers/session_store.rb
203
204
  - config/initializers/simple_form.rb