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 +8 -8
- data/Gemfile +3 -0
- data/Gemfile.lock +1 -0
- data/app/controllers/application_controller.rb +2 -0
- data/config/initializers/pry.rb +11 -0
- data/lib/tawork/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjVlMjAxYTU3YmZkNGI2NmI1YzBmNDMyMzFhYjM1MTFiYTg5N2ZkNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDJlMTc1MDUyOGMyMjExNzVhYTRjYWFjNzA4YmE0NjhkYmMyMTk1ZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODljMDdlMTA2ZWEwM2MxZWE1OTE0Y2IxMDE5OTJiZjhmYzFlYzFlNDUxN2Fl
|
10
|
+
MWM1MTU0ZmYyYmJiYzE1NWM5YWNjZTVmMTYxYWZkM2I4YzMwY2YwMmEwYjc0
|
11
|
+
ZGI5M2I1YmUzOTJhMWJiOWI2M2ZjN2Q2YzM4Y2Q0YTEyYjBlZWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
@@ -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
|
data/lib/tawork/version.rb
CHANGED
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.
|
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
|