theguardian-console 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +41 -2
  3. data/lib/g/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0383560f192b6778e51bab02b6b75d5aaf997a4a
4
- data.tar.gz: 11d77f7c241b954df8446cbbb53326666c892917
3
+ metadata.gz: 27cc1be7afab17ed3541ebdfc1f702dc2b7727e1
4
+ data.tar.gz: 838055c1308889f720ccd4a6bfab63845992abf5
5
5
  SHA512:
6
- metadata.gz: c467bac7995c5a6abf930cd9a39399a3d31d0365407b1c5c4f8cc4ddb2aa0eacef697d566b62ec8432d21d6eccdf9c64d48ff317c90c78cb7434d1412d3b037e
7
- data.tar.gz: b014d9d18854ad9fc771e2fa2c70a9b3df91721325bba0c70182bfad3c674d7f45bbdc3d58b11ace3761e6c228c33357680617517df0b9cfd35a429ed0b4cbf8
6
+ metadata.gz: bc76c01cae1b0649c2f04869b755deba550ae4fc9768bb11df8a91c904edd4c9295c079f74905bacc7793909ed8c4378df4f925c3910e2070936b784baea8e65
7
+ data.tar.gz: 64a55900947667fb48d5b50ed72ead65c4f4bfb39928dec8e15bde19a94647a8d684ddb28a6d4003b4848dbdaaff522ee0a6a429a7e0f028a8a76b661380446f
data/README.md CHANGED
@@ -8,7 +8,7 @@ TODO: Fix the gem name. There is a typo :-(
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- gem 'thegurdian-console'
11
+ gem 'theguardian-console'
12
12
 
13
13
  And then execute:
14
14
 
@@ -16,7 +16,7 @@ And then execute:
16
16
 
17
17
  Or install it yourself as:
18
18
 
19
- $ gem install thegurdian-console
19
+ $ gem install theguardian-console
20
20
 
21
21
  ## Usage
22
22
 
@@ -27,6 +27,45 @@ g headlines -f 1-10-2013 # Headlines from 1st Oct till now
27
27
  g -h # Help
28
28
  ````
29
29
 
30
+ ## Sample Output
31
+
32
+ ```ruby
33
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
34
+ | Date | Headline | Url |
35
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
36
+ | 2013-10-07 08:20 | Tony Abbott clashes with senators over W- | http://www.theguardian.com/world/2013/oct/07/tony-abbott-wes |
37
+ | | est Papua comments | t-papua-comments |
38
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
39
+ | 2013-10-07 08:19 | Football transfer rumours: Zakaria Bakka- | http://www.theguardian.com/football/2013/oct/07/football-tra |
40
+ | | li to Manchester United? | nsfer-rumours-zakaria-bakkali |
41
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
42
+ | 2013-10-07 08:12 | US debt ceiling deadlock worries markets- | http://www.theguardian.com/business/2013/oct/07/us-debt-ceil |
43
+ | | - live | ing-deadlock-worries-markets-live |
44
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
45
+ | 2013-10-07 08:02 | Government and Labour reshuffle: Politic- | http://www.theguardian.com/politics/2013/oct/07/government-a |
46
+ | | s live blog | nd-labour-reshuffle-politics-live-blog |
47
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
48
+ | 2013-10-07 08:00 | Is Buddhism a religion? | http://www.theguardian.com/commentisfree/belief/2013/oct/07/ |
49
+ | | | is-buddhism-a-religion |
50
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
51
+ | 2013-10-07 08:00 | Boy: Tales of Childhood by Roald Dahl -- | http://www.theguardian.com/childrens-books-site/2013/oct/07/ |
52
+ | | review | review-roald-dahl-boy-tales-of-childhood |
53
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
54
+ | 2013-10-07 08:00 | Should housing associations be able to s- | http://www.theguardian.com/housing-network/poll/2013/oct/07/ |
55
+ | | et their own rent prices? | housing-associations-independent-rent-levels-orr |
56
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
57
+ | 2013-10-07 07:56 | Today in healthcare: Monday 7 October | http://www.theguardian.com/healthcare-network/2013/oct/07/to |
58
+ | | | day-in-healthcare-monday-7-october |
59
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
60
+ | 2013-10-07 07:51 | BBC Radio 1 to launch iPlayer video chan- | http://www.theguardian.com/media/2013/oct/07/bbc-radio-1-ipl |
61
+ | | nel | ayer-video-channel |
62
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
63
+ | 2013-10-07 07:50 | Binyamin Netanyahu riles Iranians with f- | http://www.theguardian.com/world/2013/oct/07/binyamin-netany |
64
+ | | ashion faux pas over jeans | ahu-iranians-jeans |
65
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
66
+ +------------------+-------------------------------------------+--------------------------------------------------------------+
67
+ ```
68
+
30
69
  ## Contributing
31
70
 
32
71
  1. Fork it
data/lib/g/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module G
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theguardian-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohamed Magdy