yakg 0.1.5 → 0.1.6

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/VERSION +1 -1
  3. data/vendor/gems/README.md +21 -23
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2703a7a9cc8870a10ce32b026637d5524302779a
4
- data.tar.gz: cfaa889a06a620aa50515872355234ec1a573331
3
+ metadata.gz: 8ba3def5ae743ee9a51be34fd734eae1a5ae76c2
4
+ data.tar.gz: a4f24f8863afdf9caa22e7fdb9322bb98ae6c1f6
5
5
  SHA512:
6
- metadata.gz: 7d78186016c3ef41bea0b3e974864858b98bcb94f51a6e4170c127a24b26d4c6483cef51cb51e33af89c7770e8a03f3115c83e0e451eb0a4be9de08464ec9bac
7
- data.tar.gz: 9065469e96cfee0f15d4f5753668e628c79b6aa45c29b843f62b3f6915ba251c880036be7c656a46471038e4117b5bab4886c78fc8b857daad79e512729c327b
6
+ metadata.gz: eb845d021b9c878c3b2a9a688e52a5cf8309514033c59372ff73893f8455247e0caf3c3a633d3d86d47edde275526cbc4689293e0a4174309a6e9cb4b8a0b526
7
+ data.tar.gz: 915d27002e12e3ecc7aee3f032466a1cbac1773fab3d8c3d9a277f166c78bb149df86f20fe043f2f94b2cfdaa2c61aeca8a5c915cebc2172052332b817328661
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -2,28 +2,23 @@ Yo dog, I hear you like vendoring...
2
2
  ====================================
3
3
 
4
4
  While yakg itself is pure Ruby, it does rely on ffi (a native gem) to
5
- call into Apple Keychain and Microsoft's DPAPI & Registry. Heroku
6
- Toolkit for Windows vendors in ffi, but we don't for MacOS X doesn't,
7
- and it's kinda sucky to require people to install XCode/gcc just for
8
- one gem. The corefoundation gem is also included, because it has an
9
- explicit ffi dependency.
5
+ call into Apple Keychain and Microsoft's DPAPI & Registry. It's kinda
6
+ sucky to require people to install XCode/gcc just for one gem. The
7
+ corefoundation gem is also included, because it has an explicit ffi
8
+ dependency.
10
9
 
11
10
  Consequently, yakg itself vendors in ffi, including the ffi_c.bundle
12
- shared object. Versions are included for Ruby ABIs 1.8, 1.9.1
13
- (includes 1.9.2 & 1.9.3), and 2.0.0. All are compiled as universal
14
- binaries. `installit.sh` is the helper script, but only does them one
15
- at a time. Given how long each ruby compile takes, and how everyone's
16
- rbenv & homebrew installs are their own beautiful unique snowflake,
17
- I'm reluctant to script this out too much, but my notes are at the
18
- bottom.
19
-
20
- If you already have a compiler and ffi installed, the gem load path
21
- evil that I do in `lib/yakg.rb` should be using that instead.
11
+ shared object. Versions are included for Ruby ABIs 1.8 through 2.2.0.
12
+ All are compiled as universal binaries. If you already have a compiler
13
+ and ffi installed, the gem load path evil that I do in `lib/yakg.rb`
14
+ should be using that instead.
22
15
 
23
16
  Doing the same thing for Windows is left as an exercise to the reader.
24
17
 
25
18
  ffi_c.bundle recompilation notes
26
19
  ================================
20
+ Note, `vendor/gems` is tracked in the repo. `vendor/alice` is a scratch
21
+ space.
27
22
 
28
23
  ```
29
24
  $ brew update; brew uninstall openssl
@@ -38,17 +33,20 @@ $ for RUBY_VERSION in 2.0.0-p247 2.1.7 2.2.3; do
38
33
  rbenv install $RUBY_VERSION
39
34
  > rbenv global $RUBY_VERSION
40
35
  > gem install bundler
41
- > bundle install --path vendor
36
+ > bundle install --path vendor/alice
42
37
  > done
43
- $ cd vendor/gems
38
+ $ cd vendor/alice
44
39
  $ for ABI in 2.1.0 2.2.0; do
45
- > mkdir -p ${ABI}/gems ${ABI}/specifications
46
- > cp ../ruby/$ABI/specifications/{corefoundation,ffi}-* ${ABI}/specifications
47
- > rsync -avP ../ruby/${ABI}/gems/{corefoundation,ffi}-* ${ABI}/gems
48
- > pushd ${ABI}/gems/ffi-*
49
- > mv ext/ffi_c/ffi_c.bundle lib
40
+ > mkdir -p ../gems/ruby/${ABI}/gems
41
+ > mkdir -p ../gems/ruby/${ABI}/extensions/x86_64-darwin-15
42
+ > mkdir -p ../gems/ruby/${ABI}/specifications
43
+ > rsync -avP ruby/${ABI}/gems/{corefoundation,ffi}-* ../gems/ruby/${ABI}/gems/
44
+ > pushd ruby/${ABI}/extensions/universal-darwin-15
45
+ > rsync -avP * ../x86_64-darwin-15
50
46
  > popd
51
- > rm -rf ${ABI}/gems/{corefoundation,ffi}-*/{ext,spec}
47
+ > rsync -avP ruby/${ABI}/extensions ../gems/ruby/${ABI}/
48
+ > cp ruby/${ABI}/specifications/{corefoundation,ffi}-* \
49
+ ../gems/ruby/${ABI}/specifications/
52
50
  > done
53
51
  $ mv versions clean_universal_builds
54
52
  $ mv stash_versions versions
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yakg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Maher
@@ -563,7 +563,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
563
563
  version: '0'
564
564
  requirements: []
565
565
  rubyforge_project:
566
- rubygems_version: 2.4.5.1
566
+ rubygems_version: 2.2.5
567
567
  signing_key:
568
568
  specification_version: 4
569
569
  summary: Yet Another Keyring Gem