infinum_setup 0.7.0 → 0.8.0

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: bd77d68258782349e56237c0dcc94840c5d1e6b6
4
- data.tar.gz: 0a28bba0c0af364e538f93a12ef561ab5c60f4ec
3
+ metadata.gz: bc59c19ed7c5b592af3ff9d85be56a95d146e8e2
4
+ data.tar.gz: 09c746d56106e25d9e88912f8b8946002cc631e2
5
5
  SHA512:
6
- metadata.gz: 8099b9fc31c7298c3e62627d94aaacff4b8bdd879523b3390d94cb47b65507b0ced340ac59a479f5db6d18a87b93cc1090344671f9edc7b9415b5db65cd56fe3
7
- data.tar.gz: 6d2d65d94f8e6c3613873b2abb5e3a36a9b52de99c15b97899b3030ac059c377f4695108587f0b73553cefd000cc44b50186957c1613e27d696050b58819a8a1
6
+ metadata.gz: bc211e9e3e4e2e1c3fbe915836a1e7d188d5203d603d6a4202f9ef08abbd2f45b0ab658855e47bb1fb8aae3f93b9a672f223221c6aece14d05d30227c630ca43
7
+ data.tar.gz: 188920b9405304e62af85bdc70f79f16acbe6ca4892afceba53cec2c62d826606b974943caec0b68a77d66db733dda2c085df401bf87fa6bd4cc8d171c3047c1
@@ -9,15 +9,15 @@ module InfinumSetup
9
9
  script
10
10
  end
11
11
 
12
- def execute
13
- eval script
12
+ def execute(cmd)
13
+ eval cmd
14
14
  end
15
15
 
16
16
  def script
17
17
  if InfinumSetup.dev?
18
18
  File.read(settings['script'])
19
19
  else
20
- open("https://raw.github.com/infinum/infinum_setup/master/scripts/#{settings['scripts']}.yml")
20
+ open("https://raw.github.com/infinum/infinum_setup/master/#{settings['script']}").read
21
21
  end
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module InfinumSetup
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.8.0'.freeze
3
3
  end
@@ -107,45 +107,45 @@ alfred:
107
107
  install_if_not_interactive: true
108
108
  type: cask
109
109
  program: alfred
110
- post_install_command: open /Application/Alfred\ 3.app
110
+ post_install_command: open /Applications/Alfred\ 3.app
111
111
  iterm2:
112
112
  pre_install_comment: iTerm2 is a replacement for Terminal and the successor to iTerm
113
113
  mandatory: false
114
114
  install_if_not_interactive: true
115
115
  type: cask
116
116
  program: iterm2
117
- post_install_command: open /Application/iTerm.app
117
+ post_install_command: open /Applications/iTerm.app
118
118
  flycut:
119
119
  pre_install_comment: Clean and simple clipboard manager for developers
120
120
  mandatory: false
121
121
  install_if_not_interactive: true
122
122
  type: cask
123
123
  program: flycut
124
- post_install_command: open /Application/Flycut.app
124
+ post_install_command: open /Applications/Flycut.app
125
125
  chrome:
126
126
  mandatory: false
127
127
  install_if_not_interactive: true
128
128
  type: cask
129
129
  program: google-chrome
130
- post_install_command: open /Application/Google\ Chrome.app
130
+ post_install_command: open /Applications/Google\ Chrome.app
131
131
  firefox:
132
132
  mandatory: false
133
133
  install_if_not_interactive: false
134
134
  type: cask
135
135
  program: firefox
136
- post_install_command: open /Application/Firefox.app
136
+ post_install_command: open /Applications/Firefox.app
137
137
  dropbox:
138
138
  mandatory: false
139
139
  install_if_not_interactive: false
140
140
  type: cask
141
141
  program: dropbox
142
- post_install_command: open /Application/Dropbox.app
142
+ post_install_command: open /Applications/Dropbox.app
143
143
  google_drive:
144
144
  mandatory: false
145
145
  install_if_not_interactive: false
146
146
  type: cask
147
147
  program: google-drive
148
- post_install_command: open /Application/Google\ Drive.app
148
+ post_install_command: open /Applications/Google\ Drive.app
149
149
  spectacle:
150
150
  pre_install_comment: Window control with simple and customizable keyboard shortcuts
151
151
  post_install_comment: "How to use: https://github.com/eczarny/spectacle#keyboard-shortcuts"
@@ -153,25 +153,25 @@ spectacle:
153
153
  install_if_not_interactive: true
154
154
  type: cask
155
155
  program: spectacle
156
- post_install_command: open /Application/Spectacle.app
156
+ post_install_command: open /Applications/Spectacle.app
157
157
  skype:
158
158
  mandatory: false
159
159
  install_if_not_interactive: false
160
160
  type: cask
161
161
  program: skype
162
- # post_install_command: open /Application/Skype.app
162
+ # post_install_command: open /Applications/Skype.app
163
163
  atom:
164
164
  mandatory: false
165
165
  install_if_not_interactive: true
166
166
  type: cask
167
167
  program: atom
168
- # post_install_command: open /Application/Atom.app
168
+ # post_install_command: open /Applications/Atom.app
169
169
  sublime-text:
170
170
  mandatory: false
171
171
  install_if_not_interactive: false
172
172
  type: cask
173
173
  program: sublime-text
174
- # post_install_command: open /Application/Sublime\ Text.app
174
+ # post_install_command: open /Applications/Sublime\ Text.app
175
175
  vlc:
176
176
  mandatory: false
177
177
  install_if_not_interactive: true
@@ -189,4 +189,4 @@ flux:
189
189
  install_if_not_interactive: true
190
190
  type: cask
191
191
  program: flux
192
- post_install_command: open /Application/Flux.app
192
+ post_install_command: open /Applications/Flux.app
@@ -7,7 +7,7 @@ name = prompt.ask('Your git name')
7
7
  autocorrect = prompt.yes?('Turn on autocorrect')
8
8
  `git config --global help.autocorrect #{autocorrect ? 1 : 0}`
9
9
 
10
- editor = promtp.ask('Default editor command?(atom --wait, subl -n -w, vim)')
10
+ editor = prompt.ask('Default editor command?(atom --wait, subl -n -w, vim)')
11
11
  `git config --global core.editor "#{editor}"`
12
12
 
13
13
  `git config --global push.default current`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infinum_setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stjepan Hadjic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-08 00:00:00.000000000 Z
11
+ date: 2017-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler