second_step 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: edfbd81f2b689c382aa8f0104a6bd470d6cb4bd8
4
- data.tar.gz: 7fdb88ada88b138079b545f38f7b8d3c6f1d9ea4
3
+ metadata.gz: 48c588a18d22e07f4c61e1118499bd276874b8b2
4
+ data.tar.gz: 170c19e0d88b15321014c053619e2ac52d9beb92
5
5
  SHA512:
6
- metadata.gz: cbb00d3146c8322e96b23c39f48a6f2ab076371836760d1c5c73326bfbb60ee710024b87074750101e2803b6ddd91bf4c9d0b84d732f11c8df958c5ff89ac708
7
- data.tar.gz: ede3bc4259bcaf6d829d6d4fa854dba239080532f498ea8325cef7d4d3100d2f80e47ffb897911027cc90500126a2dc0b4fbd3468e89980749e5079d70f98d94
6
+ metadata.gz: b0d40e1b7bcdc54c42be35a34eba2411174568161aed86db55f1767650b02a7bb119cda3549ec824cf7dc18e351599d7282a4adba528730386e2d4ce070b4379
7
+ data.tar.gz: f2395a219d2553bd8799ad5411954369272f09214c98463a23052527882e6d3323bfab21533418ac68eda5b27939e0e34210615baf91df401309e631ca03b528
data/.gitignore CHANGED
@@ -20,4 +20,4 @@ README.md
20
20
  bin/console
21
21
  bin/setup
22
22
  lib/secondstep.rb
23
- secondstep-notify-*-osx/SecondStepNotifications.app/Contents/MacOS/lib/ruby/*
23
+ secondstep-notify-osx/SecondStepNotifications.app/Contents/MacOS/lib/ruby/*
data/Rakefile CHANGED
@@ -9,3 +9,11 @@ lib = File.expand_path('../lib', __FILE__)
9
9
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
10
10
 
11
11
  require 'second_step/tasks'
12
+ require 'second_step/version'
13
+
14
+ task release_with_app: [:release, :update_gem_app]
15
+
16
+ task :update_gem_app do
17
+ gem_bin_path = File.expand_path('../secondstep-notify-osx/SecondStepNotifications.app/Contents/MacOS/lib/ruby/bin/gem', __FILE__)
18
+ `#{gem_bin_path} install second_step --version #{SecondStep::VERSION} --no-ri`
19
+ end
@@ -1,3 +1,3 @@
1
1
  module SecondStep
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/second_step.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/penne12/secondstep.rb"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|secondstep-notify-osx)/}) }
17
17
  spec.bindir = "exe"
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: second_step
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben
@@ -186,11 +186,6 @@ files:
186
186
  - lib/tasks/second_step.rake
187
187
  - packaging/traveling-ruby-20150715-2.2.2-osx.tar.gz
188
188
  - second_step.gemspec
189
- - secondstep-notify-1.0.0-osx/SecondStepNotifications.app/Contents/Info.plist
190
- - secondstep-notify-1.0.0-osx/SecondStepNotifications.app/Contents/MacOS/lib/app/secondstep_notify.rb
191
- - secondstep-notify-1.0.0-osx/SecondStepNotifications.app/Contents/MacOS/secondstep-notify
192
- - secondstep-notify-1.0.0-osx/SecondStepNotifications.app/Contents/Resources/SecondStepNotifications.icns
193
- - "secondstep-notify-1.0.0-osx/SecondStepNotifications.app/Icon\r"
194
189
  - secondstep.gemspec
195
190
  homepage: https://github.com/penne12/secondstep.rb
196
191
  licenses:
@@ -1,28 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>CFBundleName</key>
6
- <string>SecondStepNotifications</string>
7
- <key>CFBundleDisplayName</key>
8
- <string>Second Step Notifications</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>com.getsecondstep.macos.mac-notify</string>
11
- <key>CFBundleVersion</key>
12
- <string>1.0.0</string>
13
- <key>CFBundlePackageType</key>
14
- <string>APPL</string>
15
- <key>CFBundleSignature</key>
16
- <string>stpn</string>
17
- <key>CFBundleExecutable</key>
18
- <string>secondstep-notify</string>
19
- <key>CFBundleShortVersionString</key>
20
- <string>1.0.0</string>
21
- <key>LSMinimumSystemVersion</key>
22
- <string>10.9</string>
23
- <key>NSHumanReadableCopyright</key>
24
- <string>© Copyright BenSites 2016</string>
25
- <key>CFBundleInfoDictionaryVersion</key>
26
- <string>6.0</string>
27
- </dict>
28
- </plist>
@@ -1,5 +0,0 @@
1
- require 'second_step/mac_os_notify'
2
- #
3
- # SecondStep::MacOSNotify.notify_login(from: 'PlanHW.com', username: 'penne12', IP: 'xx.xxx.xx.xxx', time: '5 days ago') do |r|
4
- # p r
5
- # end
@@ -1,9 +0,0 @@
1
- #!/bin/bash
2
- set -e
3
-
4
- # Figure out where this script is located.
5
- SELFDIR="`dirname \"$0\"`"
6
- SELFDIR="`cd \"$SELFDIR\" && pwd`"
7
-
8
- # Run the actual app using the bundled Ruby interpreter.
9
- exec "$SELFDIR/lib/ruby/bin/ruby" "$SELFDIR/lib/app/secondstep_notify.rb"