wwdc 1.0.0 → 1.1.0

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: dab8a45020b09a2a93acb97277986b6b75e80d87
4
- data.tar.gz: e1633fb111cc84e14c951154e9ef26e0aeecbcf6
3
+ metadata.gz: 3e7cacb1aad4e6f05c8554229420b2eae3afc423
4
+ data.tar.gz: ed67e6947056fa8961aabc7aa9583acb44c7e1b1
5
5
  SHA512:
6
- metadata.gz: 1877692cd9aa8b4f2896a81806b9e1909c07d72d2d70e697994b0d73068ad546467bbdeddcaaf74dc31799308e8cc908465438f859b90509fd071c9596209fdc
7
- data.tar.gz: 0460a78b999f50d1780c4fc8e7ef4bb84af8a504997909370da65b419404940e0b4090bda74617319fd083c6aaa73e6bf324c9c52eaa43c2941e7a59466435d2
6
+ metadata.gz: 4359061c02d63f1f7b686dd92da50c346e962498829d7d4a788f90a1c0b50d185e2b08d936af29da2d949dedb9a62f3b9e828a5fb150296af972c0183bd9dda0
7
+ data.tar.gz: 05ad96c9a176b0dc0e2dba57333c20db4bc05ac8728da2fa652095ac2a7846d22946d21951ed3ee56fdd09fbfbdbd4ede5e2d7b54915586d54e63e9da7783647
data/Gemfile.lock CHANGED
@@ -1,31 +1,32 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wwdc (1.0.0)
4
+ wwdc (1.1.0)
5
5
  commander (~> 4.1)
6
6
  excon (~> 0.25)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- commander (4.2.0)
12
- highline (~> 1.6.11)
13
- diff-lcs (1.2.5)
14
- excon (0.38.0)
15
- highline (1.6.21)
16
- rake (10.3.2)
17
- rspec (3.0.0)
18
- rspec-core (~> 3.0.0)
19
- rspec-expectations (~> 3.0.0)
20
- rspec-mocks (~> 3.0.0)
21
- rspec-core (3.0.3)
22
- rspec-support (~> 3.0.0)
23
- rspec-expectations (3.0.3)
11
+ commander (4.4.5)
12
+ highline (~> 1.7.2)
13
+ diff-lcs (1.3)
14
+ excon (0.62.0)
15
+ highline (1.7.10)
16
+ rake (12.3.1)
17
+ rspec (3.7.0)
18
+ rspec-core (~> 3.7.0)
19
+ rspec-expectations (~> 3.7.0)
20
+ rspec-mocks (~> 3.7.0)
21
+ rspec-core (3.7.1)
22
+ rspec-support (~> 3.7.0)
23
+ rspec-expectations (3.7.0)
24
24
  diff-lcs (>= 1.2.0, < 2.0)
25
- rspec-support (~> 3.0.0)
26
- rspec-mocks (3.0.3)
27
- rspec-support (~> 3.0.0)
28
- rspec-support (3.0.3)
25
+ rspec-support (~> 3.7.0)
26
+ rspec-mocks (3.7.0)
27
+ diff-lcs (>= 1.2.0, < 2.0)
28
+ rspec-support (~> 3.7.0)
29
+ rspec-support (3.7.1)
29
30
 
30
31
  PLATFORMS
31
32
  ruby
@@ -34,3 +35,6 @@ DEPENDENCIES
34
35
  rake
35
36
  rspec
36
37
  wwdc!
38
+
39
+ BUNDLED WITH
40
+ 1.16.0
data/README.md CHANGED
@@ -3,8 +3,6 @@
3
3
 
4
4
  [ASCIIwwdc](http://asciiwwdc.com) provides searchable full-text transcripts of WWDC content. `wwdc` builds on its API, [which is documented in the project's README](https://github.com/mattt/asciiwwdc.com#README).
5
5
 
6
- > As a CLI aficionado, you should definitely check out [Nomad](http://nomad-cli.com/), a world-class command line utilities for iOS development.
7
-
8
6
  ## Installation
9
7
 
10
8
  ```bash
@@ -13,40 +11,65 @@ $ gem install wwdc
13
11
 
14
12
  ## Usage
15
13
 
14
+ ### Info
15
+
16
+ Displays title and description for the specified session.
17
+
16
18
  ```bash
17
19
  $ wwdc info 228
18
20
 
19
- 228: "A Look Inside Presentation Controllers"
20
- iOS 8 brings you powerful new means of presenting content within your apps. Hear how presentation controllers were leveraged by UIKit to give you fine grain control using new alert and searching APIs. Dive deep into how presentation controllers work and how you can use them to present content within your app in exciting new ways.
21
+ WWDC 2014
22
+ Session 228: "A Look Inside Presentation Controllers"
21
23
 
22
- $ wwdc info 228 2013
24
+ iOS 8 brings you powerful new means of presenting content within your apps. Hear
25
+ how presentation controllers were leveraged by UIKit to give you fine grain
26
+ control using new alert and searching APIs. Dive deep into how presentation
27
+ controllers work and how you can use them to present content within your app in
28
+ exciting new ways.
23
29
 
24
- 228: "Hidden Gems in Cocoa and Cocoa Touch"
25
- Learn from the experts about the Cocoa and Cocoa Touch classes you may not even know exist, as well as some very obscure but extremely valuable classes that are favorites of the presenters.
30
+ $ wwdc info 228 --year 2013
26
31
 
27
- $ wwdc open 228
32
+ WWDC 2013
33
+ Session 228: "Hidden Gems in Cocoa and Cocoa Touch"
28
34
 
29
- # Opens browser to Apple Developer page with links to slides and video for this year
35
+ Learn from the experts about the Cocoa and Cocoa Touch classes you may not even
36
+ know exist, as well as some very obscure but extremely valuable classes that are
37
+ favorites of the presenters.
38
+ ```
39
+
40
+ ### Open
30
41
 
31
- $ wwdc open 228 2013
42
+ Opens browser to Apple Developer page with links to slides and video for specified session.
32
43
 
33
- # Opens browser to Apple Developer page with links to slides and video for 2013
44
+ ```bash
45
+ $ wwdc open 101 --year 2014
46
+ ```
47
+
48
+ ### Search
49
+
50
+ Finds most relevant sessions based on the specified search query
51
+
52
+ ```bash
53
+ $ wwdc search Swift
34
54
 
35
- $ wwdc search UIView
55
+ WWDC 2014
56
+ Session 407: "Swift Interoperability In Depth"
36
57
 
37
- 203: "What’s New in Cocoa Touch"
38
- UIView property called tintColor. So, Andy talked about the fact that we've taken the tintColor concept and hoisted it all the way up to UIView, right.
58
+ Swift and Objective-C work together at multiple levels to ensure that you can
59
+ create great apps for iOS and OS X. Dive deep with us to see how to use
60
+ fundamental Core Foundation and C types in your Swift code. Learn how bridging
61
+ values work and gain a practical understanding of how Swift and Objective-C can
62
+ accelerate your app development.
39
63
 
40
64
  ...
41
65
  ```
42
66
 
43
67
  ## Contact
44
68
 
45
- Mattt Thompson
69
+ ASCIIwwdc was created by Mattt Thompson and is maintained by Nate Cook.
46
70
 
47
- - http://github.com/mattt
48
- - http://twitter.com/mattt
49
- - m@mattt.me
71
+ - https://github.com/ASCIIwwdc
72
+ - https://twitter.com/ASCIIwwdc
50
73
 
51
74
  ## License
52
75
 
data/bin/wwdc CHANGED
@@ -10,7 +10,7 @@ Signal.trap("INT") {} # Suppress backtrace when exiting command
10
10
  program :version, WWDC::VERSION
11
11
  program :description, 'A command-line interface for accessing WWDC session content'
12
12
 
13
- program :help, 'Author', 'Mattt Thompson <m@mattt.me>'
13
+ program :help, 'Author', 'Mattt <mattt@me.com>'
14
14
  program :help, 'Website', 'https://github.com/mattt'
15
15
  program :help_formatter, :compact
16
16
 
data/lib/wwdc/helpers.rb CHANGED
@@ -3,7 +3,7 @@ require 'json'
3
3
  require 'rubygems/text'
4
4
 
5
5
  module WWDC
6
- YEARS = (2010..2014)
6
+ YEARS = (2010..2018)
7
7
 
8
8
  module Helpers
9
9
  include Gem::Text
@@ -47,7 +47,7 @@ module WWDC
47
47
  end
48
48
 
49
49
  def client
50
- @client ||= Excon.new('http://asciiwwdc.com', headers: {'Accept' => "application/json"})
50
+ @client ||= Excon.new('https://asciiwwdc.com', headers: {'Accept' => "application/json"})
51
51
  end
52
52
  end
53
53
  end
data/lib/wwdc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module WWDC
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
data/wwdc.gemspec CHANGED
@@ -6,9 +6,9 @@ require "wwdc/version"
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "wwdc"
8
8
  s.license = "MIT"
9
- s.authors = ["Mattt Thompson"]
10
- s.email = "m@mattt.me"
11
- s.homepage = "http://mattt.me"
9
+ s.authors = ["Mattt"]
10
+ s.email = "mattt@me.com"
11
+ s.homepage = "http://mat.tt"
12
12
  s.version = WWDC::VERSION
13
13
  s.platform = Gem::Platform::RUBY
14
14
  s.summary = "WWDC"
metadata CHANGED
@@ -1,94 +1,94 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wwdc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Mattt Thompson
7
+ - Mattt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-25 00:00:00.000000000 Z
11
+ date: 2018-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: excon
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.25'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.25'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: A command-line interface for accessing WWDC session content
70
- email: m@mattt.me
70
+ email: mattt@me.com
71
71
  executables:
72
72
  - wwdc
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - ./bin/wwdc
77
- - ./Gemfile
78
- - ./Gemfile.lock
79
- - ./lib/wwdc/commands/info.rb
80
- - ./lib/wwdc/commands/open.rb
81
- - ./lib/wwdc/commands/search.rb
82
- - ./lib/wwdc/commands.rb
83
- - ./lib/wwdc/helpers.rb
84
- - ./lib/wwdc/version.rb
85
- - ./lib/wwdc.rb
86
- - ./LICENSE
87
- - ./Rakefile
88
- - ./README.md
89
- - ./wwdc.gemspec
76
+ - "./Gemfile"
77
+ - "./Gemfile.lock"
78
+ - "./LICENSE"
79
+ - "./README.md"
80
+ - "./Rakefile"
81
+ - "./bin/wwdc"
82
+ - "./lib/wwdc.rb"
83
+ - "./lib/wwdc/commands.rb"
84
+ - "./lib/wwdc/commands/info.rb"
85
+ - "./lib/wwdc/commands/open.rb"
86
+ - "./lib/wwdc/commands/search.rb"
87
+ - "./lib/wwdc/helpers.rb"
88
+ - "./lib/wwdc/version.rb"
89
+ - "./wwdc.gemspec"
90
90
  - bin/wwdc
91
- homepage: http://mattt.me
91
+ homepage: http://mat.tt
92
92
  licenses:
93
93
  - MIT
94
94
  metadata: {}
@@ -98,17 +98,17 @@ require_paths:
98
98
  - lib
99
99
  required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  requirements:
106
- - - '>='
106
+ - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.1.11
111
+ rubygems_version: 2.6.11
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: WWDC