twitter_web_intents 0.0.1 → 0.0.2

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: 3b0af1fa1b46514f3d8d2bc7c79635dcdc30e1c0
4
- data.tar.gz: 162f2e96d2f58feef885df2453cc5511f4de6253
3
+ metadata.gz: 315660002e8230cc5565200370a8ae9f23e5a089
4
+ data.tar.gz: 789149c01ef2714f9d6bc7191537bdaac4090648
5
5
  SHA512:
6
- metadata.gz: 4f39bf5611212d5443ac60e733cfe18f5165db1908c2578a0dd5a6a26f1ad5c819e7d4a4a98fc42e00fa93f847e40425dbba1a8c518def357d1537c08d4cdc66
7
- data.tar.gz: 8eb6c21285c60d9a237c7a091d367278ef4183893ef94a15ea5182e8e1717d2fd12b818c4ce4e150005cd55a08cd4129b1932faf43293d4d0403a20e7e267f0e
6
+ metadata.gz: 5c9365f0d736dfd82360cc38fe93c4295bf1cfa9a994fc03d69fcffe82ad5394832150784235023f8d80cf939b01b8d1446ef84ea148213e45f734a8f22b6a2d
7
+ data.tar.gz: 41bd08708cef64360a601fdbc0b25b5535090ceb5779493ddca23d780009651e28b4759011d6957bfa7421d4727b9bb9e7203ecae8fcd07e562fd325048f3559
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- ���\Sg��i2K����js/m����r#GT���e3Ugqڹt;
2
- POW8!{H�|�^\�0�
1
+ l^@�[��WS�D�ԋ�����b�so
2
+ ��l����fԕx�,xg�ⷈ�B_̾h��k���H�k@������lN��Lfg`�Ì�[r%��fV4�d5eB��p�M1F��0��|�b���%I���#/FE�?� ��f_ɀ�oc�oF��
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # TwitterWebIntents Ruby Gem
1
+ # Twitter Web Intents Ruby Gem
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/twitter_web_intents.png)][gem]
4
4
  [![Build Status](https://secure.travis-ci.org/richhollis/twitter_web_intents.png?branch=master)][travis]
@@ -12,6 +12,9 @@
12
12
 
13
13
  Twitter Web Intents provides simple helper methods that return Twitter Web Intent URLs. The parameters that are passed are verified to ensure they are valid.
14
14
 
15
+ You can read more about Twitter Web Intents on Twitter's site:
16
+ https://dev.twitter.com/docs/intents
17
+
15
18
  ## Installation
16
19
 
17
20
  Add this line to your application's Gemfile:
@@ -26,6 +29,9 @@ Or install it yourself as:
26
29
 
27
30
  $ gem install twitter_web_intents
28
31
 
32
+ Note: You must be using Ruby 1.9.3 or later to use this gem due to the ActiveSupport dependency.
33
+
34
+
29
35
  ## Methods
30
36
 
31
37
  ### get_search_url(query)
@@ -65,7 +71,7 @@ TwitterWebIntents.get_user_url({:user_id => 102})
65
71
  #=> https://twitter.com/intent/user/?user_id=102
66
72
  ```
67
73
 
68
- ### def get_favorite_url(params)
74
+ ### get_favorite_url(params)
69
75
 
70
76
  Valid parameters: [:tweet_id, :related]
71
77
 
@@ -1,3 +1,3 @@
1
1
  module TwitterWebIntents
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -2,8 +2,6 @@ require 'spec_helper'
2
2
 
3
3
  describe TwitterWebIntents do
4
4
 
5
- include TwitterWebIntents
6
-
7
5
  subject { TwitterWebIntents }
8
6
 
9
7
  describe "#get_search_url" do
@@ -8,13 +8,13 @@ Gem::Specification.new do |spec|
8
8
  spec.version = TwitterWebIntents::VERSION
9
9
  spec.authors = ["Richard Hollis"]
10
10
  spec.email = ["richhollis@gmail.com"]
11
- spec.description = %q{Simple helper methods that return Twitter Web Intent URLs}
12
- spec.summary = spec.description
11
+ spec.description = %q{Twitter Web Intent URLs}
12
+ spec.summary = %q{Provides simple helper methods that return Twitter Web Intent URLs}
13
13
  spec.homepage = "https://github.com/richhollis/twitter_web_intents"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.cert_chain = ['certs/richhollis.pem']
17
- spec.signing_key = File.expand_path("~/.gem/private_key.pem") if $0 =~ /gem\z/
16
+ spec.cert_chain = ['gem-public_cert.pem']
17
+ spec.signing_key = File.expand_path("~/.gem/gem-private_key.pem") if $0 =~ /gem\z/
18
18
 
19
19
  spec.files = %w(LICENSE.txt README.md Rakefile twitter_web_intents.gemspec)
20
20
  spec.files += Dir.glob("lib/**/*.rb")
@@ -25,12 +25,12 @@ Gem::Specification.new do |spec|
25
25
  spec.require_paths = ["lib"]
26
26
  spec.test_files = Dir.glob('spec/**/*')
27
27
 
28
- spec.add_dependency "activesupport", ['>= 3.0', '< 4.1']
28
+ spec.add_runtime_dependency 'activesupport', '~> 3.0'
29
29
 
30
30
  spec.add_development_dependency "bundler", "~> 1.3"
31
- spec.add_development_dependency "rake"
32
- spec.add_development_dependency "rspec"
33
- spec.add_development_dependency "simplecov" if RUBY_VERSION >= '1.9'
34
- spec.add_development_dependency "coveralls"
31
+ spec.add_development_dependency "rake", "~> 10"
32
+ spec.add_development_dependency "rspec", "= 3.0.0beta2"
33
+ spec.add_development_dependency "simplecov", "~> 0" if RUBY_VERSION >= '1.9'
34
+ spec.add_development_dependency "coveralls", "~> 0"
35
35
 
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_web_intents
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Hollis
@@ -10,118 +10,113 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRMwEQYDVQQDDApyaWNo
13
+ MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMRMwEQYDVQQDDApyaWNo
14
14
  aG9sbGlzMRUwEwYKCZImiZPyLGQBGRYFZ21haWwxEzARBgoJkiaJk/IsZAEZFgNj
15
- b20wHhcNMTMwNDAyMTEzODA0WhcNMTQwNDAyMTEzODA0WjBBMRMwEQYDVQQDDApy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000000000 Z
33
34
  dependencies:
34
35
  - !ruby/object:Gem::Dependency
35
36
  name: activesupport
36
37
  requirement: !ruby/object:Gem::Requirement
37
38
  requirements:
38
- - - '>='
39
+ - - "~>"
39
40
  - !ruby/object:Gem::Version
40
41
  version: '3.0'
41
- - - <
42
- - !ruby/object:Gem::Version
43
- version: '4.1'
44
42
  type: :runtime
45
43
  prerelease: false
46
44
  version_requirements: !ruby/object:Gem::Requirement
47
45
  requirements:
48
- - - '>='
46
+ - - "~>"
49
47
  - !ruby/object:Gem::Version
50
48
  version: '3.0'
51
- - - <
52
- - !ruby/object:Gem::Version
53
- version: '4.1'
54
49
  - !ruby/object:Gem::Dependency
55
50
  name: bundler
56
51
  requirement: !ruby/object:Gem::Requirement
57
52
  requirements:
58
- - - ~>
53
+ - - "~>"
59
54
  - !ruby/object:Gem::Version
60
55
  version: '1.3'
61
56
  type: :development
62
57
  prerelease: false
63
58
  version_requirements: !ruby/object:Gem::Requirement
64
59
  requirements:
65
- - - ~>
60
+ - - "~>"
66
61
  - !ruby/object:Gem::Version
67
62
  version: '1.3'
68
63
  - !ruby/object:Gem::Dependency
69
64
  name: rake
70
65
  requirement: !ruby/object:Gem::Requirement
71
66
  requirements:
72
- - - '>='
67
+ - - "~>"
73
68
  - !ruby/object:Gem::Version
74
- version: '0'
69
+ version: '10'
75
70
  type: :development
76
71
  prerelease: false
77
72
  version_requirements: !ruby/object:Gem::Requirement
78
73
  requirements:
79
- - - '>='
74
+ - - "~>"
80
75
  - !ruby/object:Gem::Version
81
- version: '0'
76
+ version: '10'
82
77
  - !ruby/object:Gem::Dependency
83
78
  name: rspec
84
79
  requirement: !ruby/object:Gem::Requirement
85
80
  requirements:
86
- - - '>='
81
+ - - '='
87
82
  - !ruby/object:Gem::Version
88
- version: '0'
83
+ version: 3.0.0beta2
89
84
  type: :development
90
85
  prerelease: false
91
86
  version_requirements: !ruby/object:Gem::Requirement
92
87
  requirements:
93
- - - '>='
88
+ - - '='
94
89
  - !ruby/object:Gem::Version
95
- version: '0'
90
+ version: 3.0.0beta2
96
91
  - !ruby/object:Gem::Dependency
97
92
  name: simplecov
98
93
  requirement: !ruby/object:Gem::Requirement
99
94
  requirements:
100
- - - '>='
95
+ - - "~>"
101
96
  - !ruby/object:Gem::Version
102
97
  version: '0'
103
98
  type: :development
104
99
  prerelease: false
105
100
  version_requirements: !ruby/object:Gem::Requirement
106
101
  requirements:
107
- - - '>='
102
+ - - "~>"
108
103
  - !ruby/object:Gem::Version
109
104
  version: '0'
110
105
  - !ruby/object:Gem::Dependency
111
106
  name: coveralls
112
107
  requirement: !ruby/object:Gem::Requirement
113
108
  requirements:
114
- - - '>='
109
+ - - "~>"
115
110
  - !ruby/object:Gem::Version
116
111
  version: '0'
117
112
  type: :development
118
113
  prerelease: false
119
114
  version_requirements: !ruby/object:Gem::Requirement
120
115
  requirements:
121
- - - '>='
116
+ - - "~>"
122
117
  - !ruby/object:Gem::Version
123
118
  version: '0'
124
- description: Simple helper methods that return Twitter Web Intent URLs
119
+ description: Twitter Web Intent URLs
125
120
  email:
126
121
  - richhollis@gmail.com
127
122
  executables: []
@@ -131,12 +126,12 @@ files:
131
126
  - LICENSE.txt
132
127
  - README.md
133
128
  - Rakefile
134
- - twitter_web_intents.gemspec
135
129
  - lib/twitter_web_intents.rb
136
- - lib/twitter_web_intents/version.rb
137
130
  - lib/twitter_web_intents/intents.rb
131
+ - lib/twitter_web_intents/version.rb
138
132
  - spec/spec_helper.rb
139
133
  - spec/twitter_web_intents_spec.rb
134
+ - twitter_web_intents.gemspec
140
135
  homepage: https://github.com/richhollis/twitter_web_intents
141
136
  licenses:
142
137
  - MIT
@@ -147,20 +142,20 @@ require_paths:
147
142
  - lib
148
143
  required_ruby_version: !ruby/object:Gem::Requirement
149
144
  requirements:
150
- - - '>='
145
+ - - ">="
151
146
  - !ruby/object:Gem::Version
152
147
  version: '0'
153
148
  required_rubygems_version: !ruby/object:Gem::Requirement
154
149
  requirements:
155
- - - '>='
150
+ - - ">="
156
151
  - !ruby/object:Gem::Version
157
152
  version: '0'
158
153
  requirements: []
159
154
  rubyforge_project:
160
- rubygems_version: 2.0.0.rc.2
155
+ rubygems_version: 2.2.2
161
156
  signing_key:
162
157
  specification_version: 4
163
- summary: Simple helper methods that return Twitter Web Intent URLs
158
+ summary: Provides simple helper methods that return Twitter Web Intent URLs
164
159
  test_files:
165
- - spec/spec_helper.rb
166
160
  - spec/twitter_web_intents_spec.rb
161
+ - spec/spec_helper.rb
metadata.gz.sig CHANGED
Binary file