trick_or_treat 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca2c51007c9777a57ded38b76528db6b36fc14d7607e201759af8c3584bebdf9
4
- data.tar.gz: cb1c39d913be395a62460a20f3b84052611dbe770b2255fb789d4927a2bd0526
3
+ metadata.gz: 1feb7a24e583dd9808dbd3103f7ccbea3e6b95b351498cf81d2cc070cc216439
4
+ data.tar.gz: be0300bc411319d8ea87156673518d666e0a884bea9927b46731a93f87c94cf7
5
5
  SHA512:
6
- metadata.gz: d17a231d5e82ef79320c4ed3d48fb33d23abeee20e5d9fe3cf285ef6fad68032e79873eb4cb7bdaef176c910e376fb8b8fc51689b24d570799b136e534116044
7
- data.tar.gz: 2f50a57efcfcd6caae0573e8cb7211f83aaac101816f7a6e22a1764024b421113b7eeb7450ea660381e37ddce460ec219dba031134ef7d2a704b3fb3e494e9ac
6
+ metadata.gz: 893f4381d758a8ded4ac89143727b2265400088164c650d1f5149e7018ddf8ba27b31c58f00a65e62fd773db2bcf9ceea97e68953cf2e717f9251814931a123e
7
+ data.tar.gz: ca2c51b6070d4c79de732cb4f4af911cd03916250fb7f1335707042fabf3f278b3757469d7cb453b2939e642adebc50d612f80c525a119feda8deb32fe3ae843
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trick_or_treat (0.1.0)
4
+ trick_or_treat (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -28,7 +28,3 @@ Bug reports and pull requests are welcome at [GitHub](https://github.com/sergior
28
28
  ## License<a href="license"><a>
29
29
 
30
30
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
31
-
32
- ---
33
-
34
- Happy Hacking
@@ -14,7 +14,7 @@ module TrickOrTreat
14
14
  printf "\e[1;38;05;202mTrick or Treat? "
15
15
  return trick if args.delete('trick')
16
16
  return treat if args.delete('treat')
17
- puts "No candy for you"
17
+ print "\e[1;38;05;165mNo candy for you\e[0m"
18
18
  end
19
19
 
20
20
  # ensure returned object to be a Tempfile
@@ -37,7 +37,7 @@ module TrickOrTreat
37
37
  end
38
38
 
39
39
  def trick
40
- printf "\e[1;38;05;165m Trick\e[0m\n"
40
+ printf "\e[1;38;05;165mTrick\e[0m\n"
41
41
  links=get_links
42
42
  link=links.sample
43
43
  f=open([@uri,link].join('/'))
@@ -47,7 +47,7 @@ module TrickOrTreat
47
47
  end
48
48
 
49
49
  def treat
50
- printf "\e[1;38;05;165m Treat\e[0m\n"
50
+ printf "\e[1;38;05;165mTreat\e[0m\n"
51
51
  @treat='quotes.yml'
52
52
  headers={}
53
53
  headers={'user-agent' => 'treat'}
@@ -1,3 +1,3 @@
1
1
  module TrickOrTreat
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: trick_or_treat
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
  - Sergio Romero