poro_plus 1.0.2 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/Gemfile.lock +4 -1
- data/lib/poro_plus.rb +1 -1
- data/lib/poro_plus/version.rb +1 -1
- data/poro_plus.gemspec +2 -2
- metadata +16 -31
- data/.console_history +0 -100
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ab683347c8782ba892d22f9d94df59455f892b6e
|
4
|
+
data.tar.gz: b8b0946b1d8db70328a2f538d4dc2486286a4c7f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a696378f67e3a2cc9358c63c078c254b70f0a67d74fa25b19bd8dc8319ae7f675aed8c248ec1789e0f09ccdc79bd8140fe105c83fcddcfbf1bcffc356bc989c1
|
7
|
+
data.tar.gz: 5e4a07e85ac98123851eeb133d4ef110b0306cb9436c816a0faac2e9d52b4b7800e793ad255ff0863b1d0abddb3b26a01e220fef411020a96743a168cd420162
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/lib/poro_plus.rb
CHANGED
data/lib/poro_plus/version.rb
CHANGED
data/poro_plus.gemspec
CHANGED
@@ -7,8 +7,8 @@ require 'poro_plus/version'
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = "poro_plus"
|
9
9
|
spec.version = PoroPlus::VERSION
|
10
|
-
spec.authors = ["
|
11
|
-
spec.email = ["
|
10
|
+
spec.authors = ["Coraline Ada Ehmke"]
|
11
|
+
spec.email = ["coraline@idolhands.com"]
|
12
12
|
spec.description = %q{Simple methods to make POROs more fun.}
|
13
13
|
spec.summary = %q{Simple methods to make Plain Old Ruby Objects (POROs) more fun.}
|
14
14
|
spec.homepage = "https://github.com/Bantik/poro_plus"
|
metadata
CHANGED
@@ -1,73 +1,65 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poro_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
-
|
7
|
+
- Coraline Ada Ehmke
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.3'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.3'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
description: Simple methods to make POROs more fun.
|
63
56
|
email:
|
64
|
-
-
|
57
|
+
- coraline@idolhands.com
|
65
58
|
executables: []
|
66
59
|
extensions: []
|
67
60
|
extra_rdoc_files: []
|
68
61
|
files:
|
69
|
-
- .
|
70
|
-
- .gitignore
|
62
|
+
- ".gitignore"
|
71
63
|
- Gemfile
|
72
64
|
- Gemfile.lock
|
73
65
|
- LICENSE.txt
|
@@ -81,33 +73,26 @@ files:
|
|
81
73
|
homepage: https://github.com/Bantik/poro_plus
|
82
74
|
licenses:
|
83
75
|
- MIT
|
76
|
+
metadata: {}
|
84
77
|
post_install_message:
|
85
78
|
rdoc_options: []
|
86
79
|
require_paths:
|
87
80
|
- lib
|
88
81
|
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
82
|
requirements:
|
91
|
-
- -
|
83
|
+
- - ">="
|
92
84
|
- !ruby/object:Gem::Version
|
93
85
|
version: '0'
|
94
|
-
segments:
|
95
|
-
- 0
|
96
|
-
hash: -2746130522085779156
|
97
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
|
-
- -
|
88
|
+
- - ">="
|
101
89
|
- !ruby/object:Gem::Version
|
102
90
|
version: '0'
|
103
|
-
segments:
|
104
|
-
- 0
|
105
|
-
hash: -2746130522085779156
|
106
91
|
requirements: []
|
107
92
|
rubyforge_project:
|
108
|
-
rubygems_version:
|
93
|
+
rubygems_version: 2.4.5.1
|
109
94
|
signing_key:
|
110
|
-
specification_version:
|
95
|
+
specification_version: 4
|
111
96
|
summary: Simple methods to make Plain Old Ruby Objects (POROs) more fun.
|
112
97
|
test_files:
|
113
98
|
- spec/lib/poro_plus/poro_plus_spec.rb
|
data/.console_history
DELETED
@@ -1,100 +0,0 @@
|
|
1
|
-
a.data.map{|d| d.to_tsv}
|
2
|
-
a.data(Date.today - 1.week, Date.today).map{|d| d.to_tsv}
|
3
|
-
a.data(Date.today - 1.week, Date.today).map{|d| d.to_tsv} * "\r"
|
4
|
-
pp
|
5
|
-
pp a.data(Date.today - 1.week, Date.today).map{|d| d.to_tsv} * "\r"
|
6
|
-
a.title
|
7
|
-
pp a.data(Date.today - 1.week, Date.today).map{|d| d.to_tsv}
|
8
|
-
pp a.fetch_data(Date.today - 1.week, Date.today)
|
9
|
-
a.data_points.last
|
10
|
-
a.data_points
|
11
|
-
p = Sources::GoogleAnalytics::Profile.new(email: 'coreybantik@gmail.com', password: '$amura!23')
|
12
|
-
a = p.accounts.last
|
13
|
-
p = Sources::GoogleAnalytics::Report.new(email: 'coreybantik@gmail.com', password: '$amura!23')
|
14
|
-
p.report
|
15
|
-
a = Sources::GoogleAnalytics::Account.new(email: 'coreybantik@gmail.com', password: '$amura!23')
|
16
|
-
a = Sources::GoogleAnalytics::Account.find(email: 'coreybantik@gmail.com', password: '$amura!23', '1')
|
17
|
-
a = Sources::GoogleAnalytics::Account.find('coreybantik@gmail.com','$amura!23123123', '1')
|
18
|
-
a = Sources::GoogleAnalytics::Account.find('coreybantik@gmail.com','$amura!23', '1')
|
19
|
-
a = Sources::GoogleAnalytics::Account.all('coreybantik@gmail.com','$amura!23')
|
20
|
-
a.profiles
|
21
|
-
a.email
|
22
|
-
a.profile
|
23
|
-
a = Sources::GoogleAnalytics::Account.find('coreybantik@gmail.com','$amura!23', 676985)
|
24
|
-
a = Sources::GoogleAnalytics::Account.all
|
25
|
-
a = Sources::GoogleAnalytics::Account.all('coreybantik@gmail.com', '$amura!23')
|
26
|
-
aa = _
|
27
|
-
a = aa.first
|
28
|
-
puts "FOO" unless bar = nil
|
29
|
-
puts "FOO" unless (bar = nil)
|
30
|
-
c = Sources::GoogleAnalytics::Connector.new
|
31
|
-
c = Sources::GoogleAnalytics::Connector.new(:email => 'coreybantik@gmail.com')
|
32
|
-
c = Sources::GoogleAnalytics::Connector.new(:email => 'coreybantik@gmail.com', :password => '$amura!23'))
|
33
|
-
c = Object.new
|
34
|
-
c.inspect
|
35
|
-
c.to_s
|
36
|
-
c.accounts
|
37
|
-
a = _.first
|
38
|
-
a = c.accounts.first
|
39
|
-
c.accounts.where(:profile_id => 45149121)
|
40
|
-
c.accounts.where(:profile_id => 45149121).first
|
41
|
-
a = _
|
42
|
-
r.account
|
43
|
-
c.pasword
|
44
|
-
c.password
|
45
|
-
a.repoert
|
46
|
-
a.report
|
47
|
-
a.report.data
|
48
|
-
a.password
|
49
|
-
a = c.accounts.where(:profile_id => 45149121).first; return nil
|
50
|
-
r.profile_id
|
51
|
-
r.fetch_data
|
52
|
-
c = Sources::GoogleAnalytics::Connector.new(:email => 'coreybantik@gmail.com', :password => '$amura!23'); nil
|
53
|
-
a = c.accounts.where(:profile_id => 45149121).first; nil
|
54
|
-
relaod!
|
55
|
-
SearchQuery::Property.new
|
56
|
-
q = _
|
57
|
-
exot
|
58
|
-
q = SearchQuery::Property.new
|
59
|
-
q = SearchQuery::Property.new; q.foo
|
60
|
-
q = SearchQuery::Property.new; q.page
|
61
|
-
q = SearchQuery::Property.new(:page = 1)
|
62
|
-
q.page
|
63
|
-
q.execute!
|
64
|
-
q.instance_variables
|
65
|
-
q = SearchQuery::Property.new(:page => 1)
|
66
|
-
q.to_attributes
|
67
|
-
include Searchable
|
68
|
-
reload!
|
69
|
-
searches 'SearchResult::Detail'
|
70
|
-
Foo.searches
|
71
|
-
c = Sources::GoogleAnalytics::Connector.new(:email => 'coreybantik@gmail.com', :password => '$amura!23')
|
72
|
-
c
|
73
|
-
a = c.accounts.where(:profile_id => 45149121).first
|
74
|
-
r = a.report
|
75
|
-
r.data
|
76
|
-
r.to_tsv
|
77
|
-
require 'json'
|
78
|
-
{:foo => 'bar'}.to_json
|
79
|
-
f.public_send(:bar => 1)
|
80
|
-
class Foo
|
81
|
-
def bar
|
82
|
-
puts "OL"
|
83
|
-
f = Foo.new
|
84
|
-
f.public_send(:foo)
|
85
|
-
f.public_send(:bar)
|
86
|
-
require 'version'
|
87
|
-
require 'poro_plus/version'
|
88
|
-
require 'poro_plus'
|
89
|
-
PoroPlus
|
90
|
-
include PoroPlus
|
91
|
-
attr_accessor :foo, :bar
|
92
|
-
end
|
93
|
-
thing_one = MyThing.new(:foo => 'Raven', :bar => 'Writing Desk')
|
94
|
-
thing_one.to_hash
|
95
|
-
class MyThing
|
96
|
-
attr_accessor :foo, :bar, :tres
|
97
|
-
end
|
98
|
-
thing_one = MyThing.new(:foo => 'Raven', :bar => 'Writing Desk', :tres => nil)
|
99
|
-
thing_one.to_json(:skip_nils => true)
|
100
|
-
exit
|