mixmax 0.1.0 → 0.1.1

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: c390237ba8e48435e77f2662b3ab8a9318b777941445f1b3cc0233c9fc2d7c02
4
- data.tar.gz: 0be9e4e4be6383ba0ad580f5d00b4b465b5fa58be1674b50c3906cbd6bf07741
3
+ metadata.gz: '09fc31d21d16cc4adbde40eca71dd32dd11111aec293ea111381de2862defead'
4
+ data.tar.gz: aa69a44cb95b91a49c608c53caadf98b5dcfd747e29ea5c7f0bdaf768cc1bcac
5
5
  SHA512:
6
- metadata.gz: aafd6412c5dc52665db68a376f7c0ca104d86722e7bd396e5d3c6c93db1ebca308aba6c4120dc033c9354ad55e41cb83dc0c98efdcdf5fa17f097c4779e717d4
7
- data.tar.gz: a354f8836bff545867f65eba4f8a79c91757816fe77ec4abd72fb7c9661dc57b09b67327ac9a1a683ad675bbe0ba1c250462f2d4f9c15ee2d1da969f174f261c
6
+ metadata.gz: fe1086d68b59cacacee50f972fa470365a61f3ca76c7172e8b9696df23957cd8c9d2f9dc3f1b88fc9a51958d86fa42b718d851874855393ff57cdf1eb72ff753
7
+ data.tar.gz: 98ed08df556f8e068d2ff0b57a3727689709549e66b7ebf3c375493ee0789b13272b26ba6a33180eb54f4dcb94322116d39716e67fa90f168d463128452fc6bd
data/.travis.yml CHANGED
@@ -1,7 +1,5 @@
1
- ---
2
1
  sudo: false
3
2
  language: ruby
4
- cache: bundler
5
3
  rvm:
6
- - 2.6.2
7
- before_install: gem install bundler -v 1.17.2
4
+ - 2.5.1
5
+ before_install: gem install bundler -v 1.16.1
data/Gemfile.lock ADDED
@@ -0,0 +1,43 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mixmax (0.1.0)
5
+ httparty (~> 0.16.4)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ diff-lcs (1.3)
11
+ httparty (0.16.4)
12
+ mime-types (~> 3.0)
13
+ multi_xml (>= 0.5.2)
14
+ mime-types (3.2.2)
15
+ mime-types-data (~> 3.2015)
16
+ mime-types-data (3.2018.0812)
17
+ multi_xml (0.6.0)
18
+ rake (10.4.2)
19
+ rspec (3.8.0)
20
+ rspec-core (~> 3.8.0)
21
+ rspec-expectations (~> 3.8.0)
22
+ rspec-mocks (~> 3.8.0)
23
+ rspec-core (3.8.0)
24
+ rspec-support (~> 3.8.0)
25
+ rspec-expectations (3.8.2)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.8.0)
28
+ rspec-mocks (3.8.0)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.8.0)
31
+ rspec-support (3.8.0)
32
+
33
+ PLATFORMS
34
+ ruby
35
+
36
+ DEPENDENCIES
37
+ bundler (~> 1.16)
38
+ mixmax!
39
+ rake (~> 10.0)
40
+ rspec (~> 3.0)
41
+
42
+ BUNDLED WITH
43
+ 1.16.1
data/lib/mixmax.rb CHANGED
@@ -1,10 +1,20 @@
1
1
  require "mixmax/version"
2
+ require "httparty"
2
3
 
3
4
  module Mixmax
4
- def self.hello
5
- "hello world"
6
- end
5
+ include HTTParty
6
+ base_uri "api.mixmax.com"
7
+ # api_key = '90aa4d9c-53a0-41a8-860e-7a995a9a2f4e'
8
+ # headers = {
9
+ # "X-API-Token" => api_key
10
+ # }
11
+
7
12
 
8
- class Error < StandardError; end
9
- # Your code goes here...
13
+ def self.sequences
14
+ get("/v1/sequences", :headers => { "X-API-Token" => "90aa4d9c-53a0-41a8-860e-7a995a9a2f4e"})
15
+ end
10
16
  end
17
+
18
+
19
+ # Mixmax.add_to_sequence(id, recipients)
20
+ # Mixmax.sequences
@@ -1,3 +1,3 @@
1
1
  module Mixmax
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/mixmax.gemspec CHANGED
@@ -9,21 +9,19 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Miguel Torres"]
10
10
  spec.email = ["migueltg93@gmail.com"]
11
11
 
12
- spec.summary = %q{Example short summary}
13
- spec.description = %q{Example short summary}
14
- spec.homepage = "https://github.com/mickeytgl/mixmax2"
12
+ spec.summary = %q{A ruby wrapper around MixMax's API}
13
+ spec.homepage = "https://github.com/mickeytgl/mixmax"
15
14
  spec.license = "MIT"
16
-
17
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
18
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
15
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
+ f.match(%r{^(test|spec|features)/})
19
17
  end
20
18
  spec.bindir = "exe"
21
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
20
  spec.require_paths = ["lib"]
23
21
 
24
- spec.add_development_dependency "bundler", "~> 1.17"
22
+ spec.add_development_dependency "bundler", "~> 1.16"
25
23
  spec.add_development_dependency "rake", "~> 10.0"
26
24
  spec.add_development_dependency "rspec", "~> 3.0"
27
25
 
28
- spec.add_dependency "httparty", "~> 0.17.1"
26
+ spec.add_dependency "httparty", "~> 0.16.4"
29
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixmax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Torres
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2019-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.17'
19
+ version: '1.16'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.17'
26
+ version: '1.16'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,15 +58,15 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.17.1
61
+ version: 0.16.4
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.17.1
69
- description: Example short summary
68
+ version: 0.16.4
69
+ description:
70
70
  email:
71
71
  - migueltg93@gmail.com
72
72
  executables: []
@@ -77,6 +77,7 @@ files:
77
77
  - ".rspec"
78
78
  - ".travis.yml"
79
79
  - Gemfile
80
+ - Gemfile.lock
80
81
  - LICENSE.txt
81
82
  - README.md
82
83
  - Rakefile
@@ -85,8 +86,7 @@ files:
85
86
  - lib/mixmax.rb
86
87
  - lib/mixmax/version.rb
87
88
  - mixmax.gemspec
88
- - tags
89
- homepage: https://github.com/mickeytgl/mixmax2
89
+ homepage: https://github.com/mickeytgl/mixmax
90
90
  licenses:
91
91
  - MIT
92
92
  metadata: {}
@@ -105,8 +105,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  requirements: []
108
- rubygems_version: 3.0.3
108
+ rubyforge_project:
109
+ rubygems_version: 2.7.6
109
110
  signing_key:
110
111
  specification_version: 4
111
- summary: Example short summary
112
+ summary: A ruby wrapper around MixMax's API
112
113
  test_files: []
data/tags DELETED
@@ -1,18 +0,0 @@
1
- !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
2
- !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
3
- !_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/
4
- !_TAG_PROGRAM_AUTHOR Universal Ctags Team //
5
- !_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/
6
- !_TAG_PROGRAM_URL https://ctags.io/ /official site/
7
- !_TAG_PROGRAM_VERSION 0.0.0 /2614dbe/
8
- Contributing README.md /^## Contributing$/;" s
9
- Development README.md /^## Development$/;" s
10
- Error lib/mixmax.rb /^ class Error < StandardError; end$/;" c module:Mixmax
11
- Installation README.md /^## Installation$/;" s
12
- License README.md /^## License$/;" s
13
- Mixmax README.md /^# Mixmax$/;" c
14
- Mixmax lib/mixmax.rb /^module Mixmax$/;" m
15
- Mixmax lib/mixmax/version.rb /^module Mixmax$/;" m
16
- Mixmax spec/mixmax_spec.rb /^RSpec.describe Mixmax do$/;" d
17
- Usage README.md /^## Usage$/;" s
18
- hello lib/mixmax.rb /^ def self.hello$/;" S module:Mixmax