FCleaner 0.1.1 → 0.1.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7fec42d1ee61b6ad83bdd6c77b7763a85ae1ff71
4
- data.tar.gz: 39de2e4cbedeffedcec93c305cc2d34f8fa4db5d
3
+ metadata.gz: 0cd53a007297cd5c7a3f6c594989e5132d68b8e2
4
+ data.tar.gz: 35fafed08d55fb2bff8ab69dc6bbc4fb2067ac46
5
5
  SHA512:
6
- metadata.gz: 4b12437187ebbba84eb9dfbf5e661504f6033d4da91ff188209f05cbfee987837805046d945c736a96faf004944509fd9817b22541bdf398183b80dee65f5324
7
- data.tar.gz: 9c2785a82b3b1e75c4818db03893bcf984b532efb3470ac60122e8ac726767c9a0ba74ffcb50487fdd621897f2fcd0c9f4ea522c3b6a7ddc79cc89f6f7e6d703
6
+ metadata.gz: 655fd80dc626f4ea31b18d0e23e7ecc3329f0a4ca7885cb5e9d9983923681dee2a31517f246f2715544e48feb18ac00a5f64fb58deaa94adb9ea0a1561e6e603
7
+ data.tar.gz: 90bd478002578e565a853b90173f68512c1336e7b130c33930859f2a9738bc05634e2dec2518d1bf84a901a6fd543a96c75609484a1fcc7efb85807debe14c3b
data/README.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # FCleaner
2
2
 
3
- TODO: Write a gem description
3
+ FCleaner allows you to clean up your Activity Log on Facebook. I like to erase
4
+ my activity on Facebook from time to time, so I created this gem.
5
+
6
+ This gem is in early stage, use with caution on you own risk!
7
+
8
+ At this stage, all the Activity Log entries that can be deleted, unliked and
9
+ hidden gets deleted, unliked and hidden, including your (profile) pictures!
10
+ Search data are not yet deleted.
4
11
 
5
12
  ## Installation
6
13
 
@@ -20,7 +27,41 @@ Or install it yourself as:
20
27
 
21
28
  ## Usage
22
29
 
23
- TODO: Write usage instructions here
30
+ To completely erase you Activity Log, use:
31
+
32
+ ```ruby
33
+ $ fcleaner.rb
34
+ Enter email: email@example.com
35
+ Enter password: ****
36
+ ```
37
+
38
+ For more fine-grained control you can write your own script:
39
+
40
+ ```ruby
41
+ #!/usr/bin/env ruby
42
+
43
+ require 'io/console'
44
+ require 'fcleaner'
45
+
46
+ print "Enter email: "
47
+ email = gets.chomp
48
+
49
+ print "Enter password: "
50
+ pass = STDIN.noecho(&:gets).chomp
51
+
52
+ puts ''
53
+
54
+ activity_log = FCleaner::Activitylog.new email, pass
55
+ activity_log.login
56
+
57
+ activity_log.clean #attempts to erase everything
58
+
59
+ #or
60
+
61
+ registration_year = activity_log.reg_year
62
+ activity_log.clean_month(registration_year, 1)
63
+ activity_log.clean_month(registration_year, 2)
64
+ ```
24
65
 
25
66
  ## Contributing
26
67
 
File without changes
@@ -1,3 +1,3 @@
1
1
  module FCleaner
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: FCleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davs
@@ -84,7 +84,7 @@ description: FCleaner allows cleaning the Activity Log on Facebook
84
84
  email:
85
85
  - kovdavid@gmail.com
86
86
  executables:
87
- - fcleaner.rb
87
+ - fcleaner
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
@@ -94,7 +94,7 @@ files:
94
94
  - LICENSE.txt
95
95
  - README.md
96
96
  - Rakefile
97
- - bin/fcleaner.rb
97
+ - bin/fcleaner
98
98
  - fcleaner.gemspec
99
99
  - lib/fcleaner.rb
100
100
  - lib/fcleaner/version.rb