flatfoot 0.0.2 → 0.0.3
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.
- data/README.md +4 -0
- data/lib/flatfoot/tasks.rb +3 -3
- data/lib/flatfoot/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -42,6 +42,10 @@ After making changes deploying or just to clear out the Redis size you can clear
|
|
42
42
|
|
43
43
|
FLATFOOT.reset_recordings
|
44
44
|
|
45
|
+
If you set the `FLATFOOT` constant in a initializer you can also use the included rake tasks.
|
46
|
+
|
47
|
+
|
48
|
+
|
45
49
|
## Contributing
|
46
50
|
|
47
51
|
1. Fork it
|
data/lib/flatfoot/tasks.rb
CHANGED
@@ -3,7 +3,7 @@ namespace :flatfoot do
|
|
3
3
|
desc "report used views"
|
4
4
|
task :used => :environment do
|
5
5
|
if FLATFOOT
|
6
|
-
|
6
|
+
puts FLATFOOT.used_views.inspect
|
7
7
|
else
|
8
8
|
puts "please define a constant FLATFOOT with your Flatfoot::Tracker instance"
|
9
9
|
end
|
@@ -12,7 +12,7 @@ namespace :flatfoot do
|
|
12
12
|
desc "report unused views"
|
13
13
|
task :unused => :environment do
|
14
14
|
if FLATFOOT
|
15
|
-
|
15
|
+
puts FLATFOOT.unused_views.inspect
|
16
16
|
else
|
17
17
|
puts "please define a constant FLATFOOT with your Flatfoot::Tracker instance"
|
18
18
|
end
|
@@ -21,7 +21,7 @@ namespace :flatfoot do
|
|
21
21
|
desc "reset tracked views"
|
22
22
|
task :reset => :environment do
|
23
23
|
if FLATFOOT
|
24
|
-
|
24
|
+
puts FLATFOOT.reset_recordings.inspect
|
25
25
|
else
|
26
26
|
puts "please define a constant FLATFOOT with your Flatfoot::Tracker instance"
|
27
27
|
end
|
data/lib/flatfoot/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flatfoot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
segments:
|
76
76
|
- 0
|
77
|
-
hash:
|
77
|
+
hash: 3379319623788336714
|
78
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
79
|
none: false
|
80
80
|
requirements:
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
segments:
|
85
85
|
- 0
|
86
|
-
hash:
|
86
|
+
hash: 3379319623788336714
|
87
87
|
requirements: []
|
88
88
|
rubyforge_project:
|
89
89
|
rubygems_version: 1.8.23
|