bootsetting 0.1.2 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5e97213ef428dd84987288dafa86981dfabc2a15dd7f5661f7f8fa0720e3cbb
4
- data.tar.gz: 5bc1fe58d54e4af324e84a2a3c3e1ba86f0a232e54512eae9af550a91049b49c
3
+ metadata.gz: d420289a182b006a3b6979082b3bbd790d47fd8f20821cf60f0c9a51c226b3a3
4
+ data.tar.gz: a4a5a410835597572aae0dc1a26f45916f4f7ad9a4959a8881d811b282d1815d
5
5
  SHA512:
6
- metadata.gz: ef1850d9d2275e2c0acbcdb18c0dcb0011f3cb2e9eea2f0ce50c732533266a976014f5ca217a4b77ff3a3ea0309b6a9535b9fd62e9a9a9bb56fab76abb9f3cc0
7
- data.tar.gz: 2eef311efd40ab60f27eee2976ffaac477d65a8cb911a1268495be0cfa135ee9efcd0b89d3f466be2b50d4565995559160ff27f5c4f464a9e296075e3911ce3e
6
+ metadata.gz: 3f5ae1f893b824e6a80d48a7d89532b0a3ef9b29acfd5a081ad0dc32baab1cfe8fec21ab71690160b3eff690235bee63f09133ed56c641b471f93f2dc4ce2877
7
+ data.tar.gz: 7ecfcf8d2f365670d180b16be46d284b9c855a8ba0dfa340a2ed5a8b5e8bf787a775e9519998f56dc331c2ba6256dca2b0df54d9feef13099d5914bcf935ecbd
@@ -2,27 +2,13 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  bootsetting (0.1.2)
5
- colorize
5
+ colored2
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- colorize (0.8.1)
11
- diff-lcs (1.3)
10
+ colored2 (3.1.2)
12
11
  rake (10.5.0)
13
- rspec (3.7.0)
14
- rspec-core (~> 3.7.0)
15
- rspec-expectations (~> 3.7.0)
16
- rspec-mocks (~> 3.7.0)
17
- rspec-core (3.7.1)
18
- rspec-support (~> 3.7.0)
19
- rspec-expectations (3.7.0)
20
- diff-lcs (>= 1.2.0, < 2.0)
21
- rspec-support (~> 3.7.0)
22
- rspec-mocks (3.7.0)
23
- diff-lcs (>= 1.2.0, < 2.0)
24
- rspec-support (~> 3.7.0)
25
- rspec-support (3.7.1)
26
12
 
27
13
  PLATFORMS
28
14
  ruby
@@ -30,9 +16,7 @@ PLATFORMS
30
16
  DEPENDENCIES
31
17
  bootsetting!
32
18
  bundler (~> 1.16)
33
- colorize
34
19
  rake (~> 10.0)
35
- rspec (~> 3.2)
36
20
 
37
21
  BUNDLED WITH
38
22
  1.16.1
@@ -34,10 +34,8 @@ Gem::Specification.new do |spec|
34
34
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
35
35
  spec.require_paths = ["lib"]
36
36
 
37
- spec.add_runtime_dependency "colorize"
37
+ spec.add_runtime_dependency 'colored2'
38
38
 
39
39
  spec.add_development_dependency "bundler", "~> 1.16"
40
40
  spec.add_development_dependency "rake", "~> 10.0"
41
- spec.add_development_dependency "colorize"
42
- spec.add_development_dependency "rspec", "~> 3.2"
43
41
  end
@@ -3,14 +3,6 @@ require "bootsetting/version"
3
3
  module Bootsetting
4
4
  # Your code goes here...
5
5
  puts 'Hello gem, you are best beauty, maybe something has change'
6
+ `hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x7000000E0},{"HIDKeyboardModifierMappingSrc":0x7000000E0,"HIDKeyboardModifierMappingDst":0x700000039}]}'`
6
7
  exit
7
- class Helper
8
- def self.portray(food)
9
- if food.downcase == "broccoli"
10
- "Gross!"
11
- else
12
- "Delicious!"
13
- end
14
- end
15
- end
16
8
  end
@@ -1,3 +1,3 @@
1
1
  module Bootsetting
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootsetting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - CNKCQ
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-14 00:00:00.000000000 Z
11
+ date: 2018-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: colorize
14
+ name: colored2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -52,34 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
- - !ruby/object:Gem::Dependency
56
- name: colorize
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rspec
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '3.2'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3.2'
83
55
  description: effective command for boot setting
84
56
  email:
85
57
  - chengquan.personal@gmail.com