postpost 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 446ae760faf00a70808c9ab412759a0f2d3ac18c3d26513b330a2056673c6750
4
- data.tar.gz: 530dc98152fb236e2c9f96ded3f463fb2c4e8791e015619abd119a62637dff57
3
+ metadata.gz: 3a13357e67f811f0290a37bf3c61139290d51c60d5886bfd6facc51e4da02d9f
4
+ data.tar.gz: 72804b466a4490c6f3c2336637c0868b8635a46795b6f07d3415d07a89efbfd5
5
5
  SHA512:
6
- metadata.gz: 72d857c702a19997e315e8427b76e7be56e5d3cf6ca55bc47ef044c21b1d2f2569003f4e4fbffb48cd7df7d50e8445bb7c40664e8d2f6a4f8af92b449494c6bc
7
- data.tar.gz: 5e7715d6c83ece60d5743a3eaf9b16074138dc2d35953ad9f64371b9cbf4fe2110b7e8223d2a41b248484c34d8720e87f6a0006f2ab3cc3aa4ebb895d4a70850
6
+ metadata.gz: 430d8be2b642d49c516e62308678ade92599672814cc653a10066e80d15ce2ca8895afd557311eadfacffa816e65cd33a96a4f0e1312f4f13c2e9d6d39946604
7
+ data.tar.gz: adc7cd44541e80a4cbfeb67e78d70db7ba0fcfb32b5d3b352531d88bd98e759e7182ae22e188c99e26179aed8c6ce3a4af0785225cacc6e709f287b90f94f266
data/.gitignore CHANGED
@@ -6,6 +6,6 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
-
9
+ /.idea/*
10
10
  # rspec failure tracking
11
11
  .rspec_status
data/Gemfile.lock ADDED
@@ -0,0 +1,37 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ postpost (0.1.0)
5
+ clipboard
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ clipboard (1.3.3)
11
+ diff-lcs (1.3)
12
+ rake (10.5.0)
13
+ rspec (3.8.0)
14
+ rspec-core (~> 3.8.0)
15
+ rspec-expectations (~> 3.8.0)
16
+ rspec-mocks (~> 3.8.0)
17
+ rspec-core (3.8.0)
18
+ rspec-support (~> 3.8.0)
19
+ rspec-expectations (3.8.2)
20
+ diff-lcs (>= 1.2.0, < 2.0)
21
+ rspec-support (~> 3.8.0)
22
+ rspec-mocks (3.8.0)
23
+ diff-lcs (>= 1.2.0, < 2.0)
24
+ rspec-support (~> 3.8.0)
25
+ rspec-support (3.8.0)
26
+
27
+ PLATFORMS
28
+ ruby
29
+
30
+ DEPENDENCIES
31
+ bundler (~> 1.16)
32
+ postpost!
33
+ rake (~> 10.0)
34
+ rspec (~> 3.0)
35
+
36
+ BUNDLED WITH
37
+ 1.16.5
data/exe/postpost CHANGED
@@ -4,5 +4,4 @@
4
4
  require 'postpost'
5
5
 
6
6
  text = Clipboard.paste
7
- Clipboard.copy(text.gsub(/\n\n/, "\n\n<hr />\n\n"))
8
-
7
+ Clipboard.copy(text.gsub(%r{\n\n<hr />\n\n}, "\n\n").gsub(/\n\n/, "\n\n<hr />\n\n"))
@@ -1,3 +1,3 @@
1
1
  module Postpost
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
Binary file
data/postpost.command ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env bash
2
+
3
+ postpost
4
+
5
+ echo -e "\n\n\n"
6
+
7
+ read -p 'Horizontal lines added to the clipboard. Press Return to close this window.'
8
+
9
+ osascript -e 'tell application "Terminal" to close front window' > /dev/null 2>&1 &
data/postpost.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ['wlaer@wlaer.com']
12
12
 
13
13
  spec.summary = 'A very specific clipboard editor'
14
- spec.description = 'A very specific clipboard editor'
14
+ spec.description = 'A very specific clipboard editor for PostPost.media'
15
15
  spec.homepage = 'https://postpost.media'
16
16
  spec.license = 'MIT'
17
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postpost
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
  - adworse
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
- description: A very specific clipboard editor
69
+ description: A very specific clipboard editor for PostPost.media
70
70
  email:
71
71
  - wlaer@wlaer.com
72
72
  executables:
@@ -75,14 +75,10 @@ extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
77
  - ".gitignore"
78
- - ".idea/encodings.xml"
79
- - ".idea/misc.xml"
80
- - ".idea/modules.xml"
81
- - ".idea/postpost.iml"
82
- - ".idea/workspace.xml"
83
78
  - ".rspec"
84
79
  - ".travis.yml"
85
80
  - Gemfile
81
+ - Gemfile.lock
86
82
  - LICENSE.txt
87
83
  - README.md
88
84
  - Rakefile
@@ -91,6 +87,8 @@ files:
91
87
  - exe/postpost
92
88
  - lib/postpost.rb
93
89
  - lib/postpost/version.rb
90
+ - postpost-0.1.0.gem
91
+ - postpost.command
94
92
  - postpost.gemspec
95
93
  homepage: https://postpost.media
96
94
  licenses:
data/.idea/encodings.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" addBOMForNewFiles="with NO BOM" />
4
- </project>
data/.idea/misc.xml DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptSettings">
4
- <option name="languageLevel" value="ES6" />
5
- </component>
6
- <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.3.6" project-jdk-type="RUBY_SDK" />
7
- </project>
data/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/postpost.iml" filepath="$PROJECT_DIR$/.idea/postpost.iml" />
6
- </modules>
7
- </component>
8
- </project>
data/.idea/postpost.iml DELETED
@@ -1,20 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="ModuleRunConfigurationManager">
4
- <shared />
5
- </component>
6
- <component name="NewModuleRootManager">
7
- <content url="file://$MODULE_DIR$" />
8
- <orderEntry type="jdk" jdkName="RVM: ruby-2.5.1" jdkType="RUBY_SDK" />
9
- <orderEntry type="sourceFolder" forTests="false" />
10
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.5, RVM: ruby-2.5.1) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="clipboard (v1.3.3, RVM: ruby-2.5.1) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.5.1) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.5.1) [gem]" level="application" />
14
- <orderEntry type="library" scope="PROVIDED" name="rspec (v3.8.0, RVM: ruby-2.5.1) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.8.0, RVM: ruby-2.5.1) [gem]" level="application" />
16
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.8.2, RVM: ruby-2.5.1) [gem]" level="application" />
17
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.8.0, RVM: ruby-2.5.1) [gem]" level="application" />
18
- <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.8.0, RVM: ruby-2.5.1) [gem]" level="application" />
19
- </component>
20
- </module>
data/.idea/workspace.xml DELETED
@@ -1,197 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="e7d13d44-e1e2-4e7e-ac15-27c604cef65e" name="Default Changelist" comment="">
5
- <change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
6
- <change afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
7
- <change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
8
- <change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
9
- <change afterPath="$PROJECT_DIR$/.idea/postpost.iml" afterDir="false" />
10
- <change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
11
- <change afterPath="$PROJECT_DIR$/.rspec" afterDir="false" />
12
- <change afterPath="$PROJECT_DIR$/.travis.yml" afterDir="false" />
13
- <change afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
14
- <change afterPath="$PROJECT_DIR$/LICENSE.txt" afterDir="false" />
15
- <change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
16
- <change afterPath="$PROJECT_DIR$/Rakefile" afterDir="false" />
17
- <change afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
18
- <change afterPath="$PROJECT_DIR$/bin/setup" afterDir="false" />
19
- <change afterPath="$PROJECT_DIR$/exe/postpost" afterDir="false" />
20
- <change afterPath="$PROJECT_DIR$/lib/postpost.rb" afterDir="false" />
21
- <change afterPath="$PROJECT_DIR$/lib/postpost/version.rb" afterDir="false" />
22
- <change afterPath="$PROJECT_DIR$/postpost.gemspec" afterDir="false" />
23
- <change afterPath="$PROJECT_DIR$/spec/postpost_spec.rb" afterDir="false" />
24
- <change afterPath="$PROJECT_DIR$/spec/spec_helper.rb" afterDir="false" />
25
- </list>
26
- <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
27
- <option name="SHOW_DIALOG" value="false" />
28
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
29
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
30
- <option name="LAST_RESOLUTION" value="IGNORE" />
31
- </component>
32
- <component name="FileEditorManager">
33
- <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
34
- <file pinned="false" current-in-tab="false">
35
- <entry file="file://$PROJECT_DIR$/postpost.gemspec">
36
- <provider selected="true" editor-type-id="text-editor">
37
- <state relative-caret-position="82">
38
- <caret line="13" column="51" selection-start-line="13" selection-start-column="51" selection-end-line="13" selection-end-column="51" />
39
- </state>
40
- </provider>
41
- </entry>
42
- </file>
43
- <file pinned="false" current-in-tab="true">
44
- <entry file="file://$PROJECT_DIR$/exe/postpost">
45
- <provider selected="true" editor-type-id="text-editor">
46
- <state relative-caret-position="120">
47
- <caret line="8" lean-forward="true" selection-start-line="8" selection-end-line="8" />
48
- </state>
49
- </provider>
50
- </entry>
51
- </file>
52
- <file pinned="false" current-in-tab="false">
53
- <entry file="file://$PROJECT_DIR$/lib/postpost.rb">
54
- <provider selected="true" editor-type-id="text-editor">
55
- <state relative-caret-position="45">
56
- <caret line="3" column="26" lean-forward="true" selection-start-line="3" selection-start-column="26" selection-end-line="3" selection-end-column="26" />
57
- </state>
58
- </provider>
59
- </entry>
60
- </file>
61
- </leaf>
62
- </component>
63
- <component name="Git.Settings">
64
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
65
- </component>
66
- <component name="IdeDocumentHistory">
67
- <option name="CHANGED_PATHS">
68
- <list>
69
- <option value="$PROJECT_DIR$/postpost.gemspec" />
70
- <option value="$PROJECT_DIR$/lib/postpost.rb" />
71
- <option value="$PROJECT_DIR$/exe/postpost" />
72
- </list>
73
- </option>
74
- </component>
75
- <component name="ProjectFrameBounds" fullScreen="true">
76
- <option name="y" value="23" />
77
- <option name="width" value="1280" />
78
- <option name="height" value="777" />
79
- </component>
80
- <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
81
- <component name="ProjectView">
82
- <navigator proportions="" version="1">
83
- <foldersAlwaysOnTop value="true" />
84
- </navigator>
85
- <panes>
86
- <pane id="Scope" />
87
- <pane id="ProjectPane">
88
- <subPane>
89
- <expand>
90
- <path>
91
- <item name="postpost" type="b2602c69:ProjectViewProjectNode" />
92
- <item name="postpost" type="462c0819:PsiDirectoryNode" />
93
- </path>
94
- <path>
95
- <item name="postpost" type="b2602c69:ProjectViewProjectNode" />
96
- <item name="postpost" type="462c0819:PsiDirectoryNode" />
97
- <item name="exe" type="462c0819:PsiDirectoryNode" />
98
- </path>
99
- <path>
100
- <item name="postpost" type="b2602c69:ProjectViewProjectNode" />
101
- <item name="postpost" type="462c0819:PsiDirectoryNode" />
102
- <item name="lib" type="462c0819:PsiDirectoryNode" />
103
- </path>
104
- </expand>
105
- <select />
106
- </subPane>
107
- </pane>
108
- </panes>
109
- </component>
110
- <component name="PropertiesComponent">
111
- <property name="WebServerToolWindowFactoryState" value="false" />
112
- <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
113
- <property name="nodejs_npm_path_reset_for_default_project" value="true" />
114
- </component>
115
- <component name="RunDashboard">
116
- <option name="ruleStates">
117
- <list>
118
- <RuleState>
119
- <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
120
- </RuleState>
121
- <RuleState>
122
- <option name="name" value="StatusDashboardGroupingRule" />
123
- </RuleState>
124
- </list>
125
- </option>
126
- </component>
127
- <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
128
- <component name="TaskManager">
129
- <task active="true" id="Default" summary="Default task">
130
- <changelist id="e7d13d44-e1e2-4e7e-ac15-27c604cef65e" name="Default Changelist" comment="" />
131
- <created>1553151809881</created>
132
- <option name="number" value="Default" />
133
- <option name="presentableId" value="Default" />
134
- <updated>1553151809881</updated>
135
- <workItem from="1553151816849" duration="537000" />
136
- <workItem from="1553152363379" duration="201000" />
137
- </task>
138
- <servers />
139
- </component>
140
- <component name="TimeTrackingManager">
141
- <option name="totallyTimeSpent" value="738000" />
142
- </component>
143
- <component name="ToolWindowManager">
144
- <frame x="0" y="0" width="1280" height="800" extended-state="0" />
145
- <editor active="true" />
146
- <layout>
147
- <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2536349" />
148
- <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
149
- <window_info id="Favorites" order="2" side_tool="true" />
150
- <window_info anchor="bottom" id="Message" order="0" />
151
- <window_info anchor="bottom" id="Find" order="1" />
152
- <window_info anchor="bottom" id="Run" order="2" sideWeight="0.49919224" weight="0.329927" />
153
- <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
154
- <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
155
- <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
156
- <window_info anchor="bottom" id="TODO" order="6" />
157
- <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
158
- <window_info anchor="bottom" id="Database Changes" order="8" />
159
- <window_info anchor="bottom" id="Version Control" order="9" />
160
- <window_info anchor="bottom" id="Terminal" order="10" sideWeight="0.4983845" visible="true" weight="0.30958903" />
161
- <window_info anchor="bottom" id="Event Log" order="11" sideWeight="0.5016155" side_tool="true" visible="true" weight="0.30958903" />
162
- <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
163
- <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
164
- <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
165
- <window_info anchor="right" id="Database" order="3" />
166
- </layout>
167
- </component>
168
- <component name="TypeScriptGeneratedFilesManager">
169
- <option name="version" value="1" />
170
- </component>
171
- <component name="editorHistoryManager">
172
- <entry file="file://$PROJECT_DIR$/Gemfile">
173
- <provider selected="true" editor-type-id="text-editor" />
174
- </entry>
175
- <entry file="file://$PROJECT_DIR$/postpost.gemspec">
176
- <provider selected="true" editor-type-id="text-editor">
177
- <state relative-caret-position="82">
178
- <caret line="13" column="51" selection-start-line="13" selection-start-column="51" selection-end-line="13" selection-end-column="51" />
179
- </state>
180
- </provider>
181
- </entry>
182
- <entry file="file://$PROJECT_DIR$/lib/postpost.rb">
183
- <provider selected="true" editor-type-id="text-editor">
184
- <state relative-caret-position="45">
185
- <caret line="3" column="26" lean-forward="true" selection-start-line="3" selection-start-column="26" selection-end-line="3" selection-end-column="26" />
186
- </state>
187
- </provider>
188
- </entry>
189
- <entry file="file://$PROJECT_DIR$/exe/postpost">
190
- <provider selected="true" editor-type-id="text-editor">
191
- <state relative-caret-position="120">
192
- <caret line="8" lean-forward="true" selection-start-line="8" selection-end-line="8" />
193
- </state>
194
- </provider>
195
- </entry>
196
- </component>
197
- </project>